Operating System - Linux
1752567 Members
5233 Online
108788 Solutions
New Discussion юеВ

Re: Perl 5.8.3 depot and SSLeay.sl

 
Robert L. Russell
Occasional Contributor

Perl 5.8.3 depot and SSLeay.sl

Hi All,



I just downloaded the perl version 5.8.3 depot from the HP web site. When I run the following test, using only software from the depot it fails.



#

# /opt/perl/bin/perl -e 'use Net::SSLeay'

Can't load '/opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/auto/Net/SSLeay/SSLeay.sl' for module Net::SSLeay: No such file or directory at /opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/DynaLoader.pm line 229.

at -e line 1

Compilation failed in require at -e line 1.

BEGIN failed--compilation aborted at -e line 1.





When I do a file command on the SSLeay.sl library it says: PA-RISC2.0 shared library -not stripped

Whereas the perl binary is PA-RISC1.1.



I tried to use /opt/perl/bin/dperl, which is PA-RISC2.0 but it fails as well.



Any ideas?

Bob
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Perl 5.8.3 depot and SSLeay.sl

Shalom,

swverify \*

# as root user.
Make sure the perl isntallation is right.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Joel Girot
Trusted Contributor

Re: Perl 5.8.3 depot and SSLeay.sl

Hi Bob

Maybe you need to install a current version of openssl ?

try this link :

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=OPENSSL11I

Joel
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.3 depot and SSLeay.sl

# chatr /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/auto/Net/SSLeay/SSLeay.sl

will show you what files (shared libraries) it needs

# ldd /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/auto/Net/SSLeay/SSLeay.sl

will show you how and where those requirements are solved. Install the missing libs in the expected locations

BTW The 5.8.3 you have installed from the depot is a *treaded* HP-PA-RISC 1.1 build, and if you are running on a pa-risc 2.0 architecture, you can/could/should consider upgrading to a perl distribution that better fits your architecture and gain up to (wild estimate) 35% speed.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Robert L. Russell
Occasional Contributor

Re: Perl 5.8.3 depot and SSLeay.sl

Thanks to all for the help. The new openssl did the trick. Thanks again.

Bob