S3Sync.net
February 02, 2014, 01:30:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Help needed: "no such file to load -- iconv (LoadError)"  (Read 8421 times)
s3sync-newbie
Newbie
*
Posts: 1


View Profile
« on: January 13, 2008, 04:25:19 AM »

Hello,

I'm a newbie to s3sync, and I need your help.

When I try to run s3sync.rb on my FreeBSD machine - I get the following error message. Do you have any advice on how I can address this? Thanks in advance!
------------------------
./S3encoder.rb:17:in `require': no such file to load -- iconv (LoadError)
        from ./S3encoder.rb:17
        from ./s3try.rb:24:in `require'
        from ./s3try.rb:24
        from ./s3sync.rb:22:in `require'
        from ./s3sync.rb:22
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: January 13, 2008, 01:47:37 PM »

Get newer ruby?
Logged
tangent35205
Newbie
*
Posts: 2


View Profile
« Reply #2 on: January 14, 2010, 04:14:00 PM »

I am having a similar problem:

S3encoder.rb:17:in `require': no such file to load -- iconv (LoadError)
   from /usr/home/boatrv/backup/s3sync/S3encoder.rb:17:in `<top (required)>'
   from /usr/home/boatrv/backup/s3sync/s3try.rb:29:in `require'
   from /usr/home/boatrv/backup/s3sync/s3try.rb:29:in `<module:S3sync>'
   from /usr/home/boatrv/backup/s3sync/s3try.rb:10:in `<top (required)>'
   from s3sync.rb:25:in `require'
   from s3sync.rb:25:in `<module:S3sync>'
   from s3sync.rb:11:in `<main>'

I am using the current version of Ruby (1.9.1).  Can anyone offer any insight?
Logged
falk0069
Newbie
*
Posts: 4


View Profile
« Reply #3 on: January 15, 2010, 09:34:57 PM »

Found this on a different forum:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
It's here:
/usr/ports/converters/ruby-iconv

If you are new to FreeBSD [ like me ],
/usr/ports/
is loaded up with a bunch of software which you can install.

Usually software I find there installs cleanly with a simple
make
make install

So, I installed ruby-iconv and now
require 'iconv'
returns true rather than an exception.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

hope it works for you.
Logged
tangent35205
Newbie
*
Posts: 2


View Profile
« Reply #4 on: January 17, 2010, 08:14:45 PM »

All is well now.  I had to contact our hosting provider (I didn't have the grants to make any changes) and we eventually got it straightened out.  Here is what they told me:
One of our administrators looked into this further. They noticed that this is a problem with iconv.so, which is a FreeBSD port that Ruby was looking for. We already have that port installed at /usr/local/lib/ruby/1.8/i386-freebsd7/, but Ruby was looking for it in /usr/local/lib/ruby/1.8/i386-freebsd7.2/.

He copied that port over to the location that Ruby was looking for, and was able to run "./s3sync.rb --help" within your account. You may want to try running this again now.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!