Nuby: config problem on solaris--net/smtp file not found

R

rpardee

Hey All,

Having just convinced my sysadmin to install ruby on solaris, I'm
having a problem w/a script that uses the net/smtp library. I'm hoping
the following is enough info for one of you kind people to diagnose the
problem:

totoro:~/chcr/rb>ruby -v
ruby 1.8.1 (2003-12-25) [sparc-solaris2.9]

totoro:~/chcr/rb>ruby -e 'require "net/smtp"'
/usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so: ld.so.1: ruby:
fatal: li
bcrypto.so.0.9.7: open failed: No such file or directory -
/usr/local/lib/ruby/1
..8/sparc-solaris2.9/digest/md5.so (LoadError)
from /usr/local/lib/ruby/1.8/net/smtp.rb:122
from -e:1:in `require'
from -e:1
totoro:~/chcr/rb>

It looks to me like that md5.so file *does* exist at the specified
location:

-rwxr-xr-x 1 root bin 34444 Dec 9 08:06 md5.so*
-rwxr-xr-x 1 root bin 37956 Dec 9 08:06 rmd160.so*
-rwxr-xr-x 1 root bin 37848 Dec 9 08:06 sha1.so*
-rwxr-xr-x 1 root bin 74892 Dec 9 08:06 sha2.so*
totoro:/usr/local/lib/ruby/1.8/sparc-solaris2.9/digest>
Can anybody advise?

Thanks!

-Roy
 
D

Daniel Berger

Hi Roy,

I would say your sysadmin borked the installation. I would ask how he
built and/or installed it. Which compiler? Which options? Or did he
use a package? If so, from where did he get it?

I would recommend using the package from blastwave.org if you're going
to use 1.8.1.

Regards,

Dan
 
T

ts

r> totoro:~/chcr/rb>ruby -e 'require "net/smtp"'
r> /usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so: ld.so.1: ruby:
r> fatal: libcrypto.so.0.9.7: open failed: No such file or directory -
r> /usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so (LoadError)
r> from /usr/local/lib/ruby/1.8/net/smtp.rb:122
r> from -e:1:in `require'
r> from -e:1
r> totoro:~/chcr/rb>

r> It looks to me like that md5.so file *does* exist at the specified
r> location:

This is libcrypto.so.0.9.7, not md5.so, that it can't find at runtime.



Guy Decoux
 

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,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top