Operating System - HP-UX
1834169 Members
2727 Online
110064 Solutions
New Discussion

/usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

 
Vic S. Kelan
Regular Advisor

/usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

Hi
I get this error while starting a tuxedo server.
"/usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl"
I have my SHLIB_PATH set as shown below, I noticed this on the /usr/lib/dld.sl file of two machines:

WORKING MACHINE
=================
WORKING:what dld.sl
dld.sl:
SMART_BIND
92453-07 dld dld dld.sl B.11.38 031218
WORKING: ll dld.sl
-r-xr-xr-x 1 bin bin 241664 Jul 1 2004 dld.sl

export SHLIB_PATH=$TUXDIR/lib:/opt/lib/cobol/lib

PROBLEM MACHINE
===============
PROBLEM: what dld.sl
dld.sl:
SMART_BIND
92453-07 dld dld dld.sl B.11.18 000922
PROBLEM: ll dld.sl
-r-xr-xr-x 1 bin bin 155648 Nov 14 2000 dld.sl

export SHLIB_PATH=/usr/lib:/usr/conf/h:$ORACLE_HOME/lib:$TUXDIR/lib

Can anyone help with some suggestions........... why i have this problem......
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: /usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

See if the files referred to in SHLIB_PATH are in the /usr/lib directory.

Make sure the shell is right and not a shell that one allow for one line export, or change the SHLIB command to a two line statement, set then export

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
D Block 2
Respected Contributor

Re: /usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

Vic,
also might try getting the latest "link loader" patch for you problem system. thinking that dld.sh might be 3 years older than your working system dynamic link-loader version.

also, run the "chatr" command on your executable and see what shared libs show from the CHATR report.

Golf is a Good Walk Spoiled, Mark Twain.
Suraj Singh_1
Trusted Contributor

Re: /usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

Hi,

DO you have "libsafestrings.sl" file in your PROBLEM MACHINE? If yes, check whether the path to this file is specified in the " LD_LIBRARY_PATH" variable.

Also, check the thread http://forums1.itrc.hp.com/service/ forums/questionanswer.do?threadId=821909

Regards
What we cannot speak about we must pass over in silence.
Suraj Singh_1
Trusted Contributor

Re: /usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

Ermin Borovac
Honored Contributor

Re: /usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

Check your tuxedo server binary with chatr to see if use of SHLIB_PATH is enabled. You should also see libsafestrings.sl in chatr output ("shared library list").

$ chatr

You should see a line

SHLIB_PATH enabled second

If it says "disabled", then SHLIB_PATH will be disregarded.

SHLIB_PATH disabled second

The following will enable use of SHLIB_PATH

$ chatr +s enable

Vic S. Kelan
Regular Advisor

Re: /usr/lib/dld.sl : Can't find path for shared library: libsafestrings.sl

Hi All,

Thanks all for the response, starting from the most recent:
Ermin, thanks, SHLIB_PATH is enabled already

Suraj, actually am missing some patches u listed, we are up for patch in 2 weeks and that should cover them, also the link on the LD_LIBRARY_PATH" seems not to work.

Tom, thanks, yes its a concern about the age difference on the dynamic link loader.

SEP, yes files referred to in SHLIB_PATH are in the /usr/lib directory.

Having said all this, the developer of the app we tried to run believes the problem is that he had been dynamically linking to the library which is a no no.....(?) will let you know how this goes when I exhaust all the options, THANKS!