Operating System - Linux
1753856 Members
7516 Online
108809 Solutions
New Discussion юеВ

Re: Error Can't find path for shared libirary

 
Logesh_1
Occasional Advisor

Error Can't find path for shared libirary

Hi,

When i am trying to run CAD software i-deas12 on hpux 11i ,i am geting error as mention below
/usr/lib/dld.sl:cant find path for shared libirary
/usr/lib/dld.sl:No such file or directory

Please give me the solution to rectify this error.

Thanks& Regards
Logesh S
7 REPLIES 7
OFC_EDM
Respected Contributor

Re: Error Can't find path for shared libirary

Hi,

Have you verified if the files exists?
/usr/lib/dld.sl

If it's there can you verify if the /usr/lib directory is in your path?


The Devil is in the detail.
Jeeshan
Honored Contributor

Re: Error Can't find path for shared libirary

Hi

#find / -name dld.sl

if not found in /usr/lib then locate the another copy. if found create a soft link.
a warrior never quits
OFC_EDM
Respected Contributor

Re: Error Can't find path for shared libirary

Here's an example of how to create the soft link

- 1.txt will have the letter A in it.
- Then will create softlink called 2.txt.
- Then display 2.txt to show it displays content of 1.txt.

# echo A >> 1.txt
#ln -s 1.txt 2.txt
#cat 2.txt
A

Note I stripped out the paths in front of the filenames for illustration.
The Devil is in the detail.
Peter Nikitka
Honored Contributor

Re: Error Can't find path for shared libirary

Hi,

without a functional shared library loader (/usr/lib/dld.sl) it won't even be possible to reach a runlevel higher than 's'.
It's this loader, which complains about missing libraries in an object file to be loaded.
Try
chatr
to identify these and read the release notes of the product, how to setup SHLIB_PATH and friends to get these - products supplied libs, I think - resolved.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Dennis Handly
Acclaimed Contributor

Re: Error Can't find path for shared libirary

>dld.sl: cant find path for shared library
>dld.sl: No such file or directory

Does it mention the shlib in the message?
You need to provide that path in SHLIB_PATH.

>O'Kevin:Have you verified if the files exists? /usr/lib/dld.sl

Of course dld.sl exists, it printed the message.

>verify if the /usr/lib directory is in your path?

Since that's the default, you don't need to worry about it.

>Peter: without a functional shared library loader (dld.sl) it won't even be possible to reach a runlevel higher than 's'.

True, but you might remove it somehow. ;-)

>Try chatr to identify these and read the release notes of the product, how to setup SHLIB_PATH

Right.
Logesh_1
Occasional Advisor

Re: Error Can't find path for shared libirary

Any one give me a exact solution to solve this problem.

Logesh.S
Dennis Handly
Acclaimed Contributor

Re: Error Can't find path for shared libirary

>Anyone give me a exact solution to solve this problem?

We told you. Provide the exact output from dld. Find that shlib. Put that path in SHLIB_PATH and export it.