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

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

tinivt
Occasional Visitor

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

Getting the below error while trying to start apache in a HP-UX B.11.11 system.

/bin]echo $ORACLE_HOME
/ub00/oracle/ora921
/bin]echo $ORACLE_BASE
/ub00/oracle/ora921/
/bin]echo $SHLIB_PATH
/ub00/oracle/ora921/lib32



$apachectl start
/usr/lib/dld.sl: Can't find path for shared library: libclntsh.sl.9.0
/usr/lib/dld.sl: No such file or directory
apachectl[79]: 3717 Abort(coredump)
apachectl start: httpd could not be started


your valuable help will be really appreciable.




7 REPLIES
Suraj K Sankari
Honored Contributor

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

Hi,

Set your path properly, set your path according to our shell.

Suraj
tinivt
Occasional Visitor

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

hi,

Can you please tell me which values should be set to the PATH to avoid this error
V. Nyga
Honored Contributor

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

Hi,

search for the right path:
'find / -name "libclntsh*" '
Expand your /etc/SHLIB_PATH with that path.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

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

>Volkmar: Expand your /etc/SHLIB_PATH with that path.

Unless everyone on the system is getting that error, you probably should add that path only in the apachectl script.
V. Nyga
Honored Contributor

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

... if it's a script he can change ... ;-)

Best wishes from Munich
(waiting for the first snow at this weekend)
V.
*** Say 'Thanks' with Kudos ***
TTr
Honored Contributor

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

The libclntsh.sl.9.0 should be under the .../ora921/lib32 subdirectory. Verify that /ub00/oracle/ora921/lib32 that you have in the SHLIB_PATH is the actual path where oracle9 is installed. Also verify that the apache user has access to the oracle921 directory tree.
tinivt
Occasional Visitor

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

Thanks a lot all.I got it resolved. the problem was with permission of libclntsh.sl.9.0 file.