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

Discussion in 'Ruby' started by rpardee@comcast.net, Dec 10, 2004.

  1. Guest

    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
    , Dec 10, 2004
    #1
    1. Advertising

  2. 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
    Daniel Berger, Dec 10, 2004
    #2
    1. Advertising

  3. ts Guest

    >>>>> "r" == rpardee <> writes:

    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
    ts, Dec 10, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    1,050
    Roedy Green
    Jan 24, 2006
  2. Replies:
    3
    Views:
    530
  3. Replies:
    8
    Views:
    2,132
    Lionel B
    Jul 7, 2005
  4. CSharpner
    Replies:
    0
    Views:
    996
    CSharpner
    Apr 9, 2007
  5. kris

    nuby problem with net/http

    kris, Feb 7, 2004, in forum: Ruby
    Replies:
    3
    Views:
    92
Loading...

Share This Page