undefined symbol: rb_Digest_MD5_Init

W

Will Will

Hi,

I am trying to run a program (s3sync) written in Ruby, but I am getting
the following error. Its seems to be complaining about the md5.so I am
using red hat 5.1 and ruby 1.8.7.

./s3sync.rb
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol:
rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so
(LoadError)
from /usr/local/lib/ruby/1.8/md5.rb:6
from ./s3sync.rb:23:in `require'
from ./s3sync.rb:23

Any ideas?

I verified that the file
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so is on my filesystem.
 
N

Nobuyoshi Nakada

Hi,

At Mon, 13 Oct 2008 17:20:10 +0900,
Will Will wrote in [ruby-talk:317524]:
I am trying to run a program (s3sync) written in Ruby, but I am getting
the following error. Its seems to be complaining about the md5.so I am
using red hat 5.1 and ruby 1.8.7.

./s3sync.rb
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol:
rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so
(LoadError)

Seems that md5init.o was compiled without openssl/md5.h but
md5.o was with it or the routines in openssl are used. How did
you compiled it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top