Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find path for shared library: libperl.sl

SOLVED
Go to solution
Michael D. Butler_1
Occasional Visitor

Can't find path for shared library: libperl.sl

I have perl 5.8 loaded onto a HP-UX 11.11 workstation. When I try to run a perl script, I get:

/usr/lib/dld.sl: Can't find path for shared library: libperl.sl
I've tried editing /etc/SHLIB_PATH to point to where libperl.sl exists, but that doesn't work. Any help that anyone could provide would be appreciated. Thank you in advance.
4 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: Can't find path for shared library: libperl.sl

Shalom,

Check the perl installation swverify \*

Check that the perl in the top of the script is pointing to /opt where perl resides.

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
Jeff Schussele
Honored Contributor

Re: Can't find path for shared library: libperl.sl

Hi Michael,

What happens if you directly set it before running the script?

export SHLIB_PATH=/path/to/perl/lib

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael D. Butler_1
Occasional Visitor

Re: Can't find path for shared library: libperl.sl

Stephen, you pointed me in the right direction. The script had been written originally under Perl 5.6, but I had 5.8 installed. So the script wasn't pointing to the 5.8 installation. I guess I was pretty brain dead this morning. Thanks for your help.
Michael D. Butler_1
Occasional Visitor

Re: Can't find path for shared library: libperl.sl

Thanks for your help.