jaallen has asked for the wisdom of the Perl Monks concerning the following question:

I'm getting the error Can't load '/tmp/PERL_Modules/Crypt-SSLeay-0.64/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: perl: fatal: relocation error: file /tmp/PERL_Modules/Crypt-SSLeay-0.64/blib/arch/auto/Crypt/SSLeay/SSLeay.so: symbol SSL_state_string_long: referenced symbol not found at /opt/xampp/lib/perl5/5.12.1/sun4-solaris/DynaLoader.pm line 200. at /tmp/PERL_Modules/Crypt-SSLeay-0.64/blib/lib/Net/SSL.pm line 19 I've loaded openssl on Solaris 10 from the sunfreeware site and set my LD_LIBRARY_PATH=/usr/local/ssl/lib Still no joy. Any assistance is greatly appreciated.

Replies are listed 'Best First'.
Re: Crypt-SSLeay-0.64 make test problem
by Anonymous Monk on Dec 20, 2012 at 20:26 UTC

    Still no joy. Any assistance is greatly appreciated.

    Repeat.  [ddg://ld.so.1: perl: fatal: relocation error] [solaris ssleay] ld.so.1: perl: fatal: relocation error solaris ssleay

    You're probably mixing 32bit/64bit ... but I don't solaris, I just keep seeing folks stumble on the same stuff

      The problem is somewhere along those lines. Turns out I was able to load the Crypt-SSLeay Perl module after pulling down the openssl source and building it on my Solaris 5.10 box first. The orginal attempt I made used the openssl binaries from sunfreeware.com and that generated the relocation errors above.