Operating System - HP-UX
1827294 Members
2319 Online
109717 Solutions
New Discussion

Wierd /usr/lib/dld.sl errors.

 
Jeremy Loukinas
Frequent Advisor

Wierd /usr/lib/dld.sl errors.

I was running a tool that is pretty common. CIS-Tool. I don't think there anything special requirements from it. But when I run the tool I get the following.

system1:/opt/CIS # ./cis-scan
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libnsl_s.1
/usr/lib/dld.sl: No such file or directory
./cis-scan[4]: 18600 Abort(coredump)
system1:/opt/CIS #

system1:/usr/lib #ls -al | grep libnsl

-r--r--r-- 12 bin bin 1248 Oct 27 1997 libnsipc.a
-r-xr-xr-x 1 bin bin 679936 Apr 29 20:36 libnsl.1*
-r--r--r-- 1 bin bin 816568 Nov 20 1998 libnsl.a
lrwxr-xr-x 1 root sys 17 Jun 30 14:27 libnsl.sl@ -> /usr/lib/libnsl.1

Any advice?
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Wierd /usr/lib/dld.sl errors.

Check SHLIB_PATH variable. The tools may need to be part of it.

Check the doc before making any changes.

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
Massimo Bianchi
Honored Contributor

Re: Wierd /usr/lib/dld.sl errors.

Hi,
do you have in your system that library
/usr/lib/libnsl_s.1 anywhere ?

Try with a find:

find / -name /usr/lib/libnsl_s.1

in my system 11.0:

-r-xr-xr-x 1 bin bin 679936 Nov 29 2001 libnsl.1
-r--r--r-- 1 bin bin 817348 Nov 29 2001 libnsl.a
lrwxr-xr-x 1 root sys 17 Sep 19 2002 libnsl.sl -> /usr/lib/libnsl.1
-r-xr-xr-x 1 bin bin 98304 Nov 6 1997 libnsl_s.1
-r-xr-xr-x 1 bin bin 122880 Oct 10 2001 libnsl_s.2
-r--r--r-- 1 bin bin 158712 Oct 10 2001 libnsl_s.a
lrwxr-xr-x 1 root sys 19 Sep 19 2002 libnsl_s.sl -> /usr/lib/libnsl_s.2


Which OS is yours ?

Massimo






Jeremy Loukinas
Frequent Advisor

Re: Wierd /usr/lib/dld.sl errors.

11.00

Should the SH_LIBRARY_PATH point to /usr/lib?
harry d brown jr
Honored Contributor

Re: Wierd /usr/lib/dld.sl errors.

Setting the SHLIB_PATH (note not the HS_LIBRARY_PATH) isn't going to help because you don't have a libnsl_s.sl library.

You need to patch your system. Use the custom patch manager.

live free or die
harry
Live Free or Die
vasundhara
Frequent Advisor

Re: Wierd /usr/lib/dld.sl errors.

Hi,

Instead of making the link
"libnsl.sl@ -> /usr/lib/libnsl.1 ",
make the link as
"libnsl.1 -> /usr/lib/libnsl.1" .

It should work. I encountered a similar problem and it is solved when made the link.

Regards
VJ.
RolandH
Honored Contributor

Re: Wierd /usr/lib/dld.sl errors.

# ln -s /usr/lib/libnsl.1 /usr/lib/libnsl_s.1


this should solve your problem

Regards
Roland
Sometimes you lose and sometimes the others win