in reply to can't locate in @INC

Your Net::SSLeay is only installed for the i386 Perl:

/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Net/SSLeay.pm

The Perl you use is a 64-bit Perl which cannot work with the 32-bit extensions:

/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi

The two cannot work together. Since you seem to be using a RedHat stock Perl, you might want to consider to install the RPM version of Net::SSLeay for your version of Perl, which hopefully includes the libssleay as a dependency.

An alternate approach could be to compile your own, separate Perl and install it under (for example) /opt/perl, and to compile the modules you want there.

Replies are listed 'Best First'.
Re^2: can't locate in @INC
by Preceptor (Deacon) on Mar 12, 2007 at 14:39 UTC
    As far as I can tell, the CPAN module is pretty clever about finding and assembling mods for your current variant of perl that's in use.

    perl -MCPAN -e shell install Net::SSLeay
    Although you will have to do some configurating if this is the first time you've run it.