Operating System - HP-UX
1833875 Members
2879 Online
110063 Solutions
New Discussion

Re: Problem with dld.sl finding an existing library

 
Steve Lemons
Occasional Contributor

Problem with dld.sl finding an existing library

I have been having problem using a command line utility from Netscape
Directory Server.

The command has work flawlessly for years and then recently I been
having the following behavior.

I can use the command interactively a couple of times successfully and
then I would get the following error message:

/usr/lib/dld.sl: Can't find path for shared library: libldap30.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

If I log out of the system and log back it, the command will work for a
few more times then revert back to the above error message.
If I use the command via a cron job, it works every time.

The library in question, libldap30.sl, is on the system and it the
appropriate location. I even made a copy in /usr/lib. This didn't
help.

Has anyone ever seen this problem or have suggestion on how to fix it?

Steve
4 REPLIES 4
Denver Osborn
Honored Contributor

Re: Problem with dld.sl finding an existing library

Try executing chatr on the binary, verify the path that it shows libldap30.sl is there. Maybe it thinks libldap30.sl is in another path. If so you could create a link to where it is expectin to find it.
Stefan Farrelly
Honored Contributor

Re: Problem with dld.sl finding an existing library


Check your environment variable; SHLIB_PATH
Im from Palmerston North, New Zealand, but somehow ended up in London...
randy lee
Advisor

Re: Problem with dld.sl finding an existing library

Similar problem. I
ran chatr on the exe and /usr/lib is correct.
Link is there. SHLIB_PATH is correctly setup. What then?
Steve Steel
Honored Contributor

Re: Problem with dld.sl finding an existing library

Hi


Try doing a cd to tyhe home directory of the netscape program to be run and then using

./prog parameters


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)