Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Crypt::SSLeay not installed

by meathouse (Initiate)
on Jul 08, 2014 at 02:02 UTC ( [id://1092658]=note: print w/replies, xml ) Need Help??


in reply to Re: Crypt::SSLeay not installed
in thread Crypt::SSLeay not installed

Rob, I took your suggestion and added
use lib '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/';
I now get "no data received in the browser" and the following in Apache error logs
/usr/local/ray/apache/bin/httpd: symbol lookup error: /usr/lib/perl5/s +ite_perl/5.8.8/i386-linux-thread-multi//auto/Compress/Raw/Zlib/Zlib.s +o: undefined symbol: Perl_Tstack_sp_ptr
Some kind of mismatch?

Replies are listed 'Best First'.
Re^3: Crypt::SSLeay not installed
by Anonymous Monk on Jul 08, 2014 at 02:10 UTC
    Looks like you're mixing two different perls with that use lib line

    fix your shebang or compile the modules with a different perl

      You're right. I know have
      $ /usr/bin/perl -v This is perl, v5.8.5 built for i686-linux
      And
      use lib '/usr/lib/perl5/site_perl/5.8.5/i686-linux/auto/';
      Which puts me back at square one. http works, but https gives the "Crypt::SSLeay not installed" error. Yet it is there.
      $ ls -l /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto/Crypt/SSLeay/ total 40 -r--r--r-- 1 root root 0 Aug 10 2004 SSLeay.bs -r-xr-xr-x 1 root root 30277 Aug 10 2004 SSLeay.so
        What is in @INC?
      @INC on server B is
      $ perl -e "print \"@INC\"" /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/ +site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_pe +rl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/ +perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-t +hread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_pe +rl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8

        /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8

        You shouldn't mix 5.8.5 and 5.8.8, they're not binary compatible (one has Perl_Tstack_sp_ptr, the other one doesnt have Perl_Tstack_sp_ptr, among other symbols)

        Remove whatever use lines you have, and use the correct bin/perl to install modules where you need them (say .....  perl  -MCPAN -e shell )

        Only use bin/perl5.8.5 to install modules for bin/per5.8.5

        Only use bin/perl5.8.8 to install modules for bin/per5.8.8

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1092658]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found