in reply to Crypt::SSLeay not installed

use lib '/usr/local/ray/www/site_perl';

Does that specify the right location ?
It's the '/usr/local/ray/lib/perl5/site_perl/5.8.5/i686-linux/' directory (not '/usr/local/ray/lib/perl5/site_perl') that needs to be searched when looking for Crypt/SSLeay.pm.
Similarly, for the other location of Crypt::SLLeay (which is the one I'd be trying first) you'd want
use lib '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/';
Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Crypt::SSLeay not installed
by meathouse (Initiate) on Jul 08, 2014 at 02:02 UTC
    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?
      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
        @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