Operating System - HP-UX
1753460 Members
4848 Online
108794 Solutions
New Discussion юеВ

Re: /usr/lib/dld.sl error

 
SOLVED
Go to solution
huongbuixuan
Advisor

/usr/lib/dld.sl error

Hi all
When I ugraded Oracle form 8.0.5 to 8.0.6, in my application log has the message:
/usr/lib/dld.sl: Can't open shared library: /home/oracle/product/8.0.5/lib/libclntsh.sl
/usr/lib/dld.sl: No such file or directory
/usr/lib/dld.sl: Can't open shared library: /home/oracle/product/8.0.5/lib/libclntsh.sl
/usr/lib/dld.sl: No such file or directory
/usr/lib/dld.sl: Can't open shared library: /home/oracle/product/8.0.5/lib/libclntsh.sl
/usr/lib/dld.sl: No such file or directory
/usr/lib/dld.sl: Can't open shared library: /home/oracle/product/8.0.5/lib/libclntsh.sl
/usr/lib/dld.sl: No such file or directory
It is appear many time when application running
I areadly changed all the path in environment from 8.0.5 to 8.0.6
Thank
Viet Nam
4 REPLIES 4
Clemens van Everdingen
Honored Contributor

Re: /usr/lib/dld.sl error

Hi,

Could i t be there is a wrong link to libclntsh.sl
Maybe it should be linked to /home/oracle/product/8.0.6/lib/libclntsh.sl

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Clemens van Everdingen
Honored Contributor
Solution

Re: /usr/lib/dld.sl error

Hi,

Found another possible solution !

=> The Oracle problem was resolved - its a bug in Oracle 8.0x (the
developers hardcoded the shared lib path in the make file). The steps to
resolve are:

1) su - oracle

2) genclntsh

3) cd $ORACLE_HOME/sqlplus/lib

4) grep -i libclnt *.mk
You should see the file env_sqlplus.mk

5) vi env_sqlplus.mk
and modify the containing LLIBCLNTSH and change to:
LLIBCLNTSH=$(ORACLE_HOME)/lib/libclntsh.sl.1.0
and then

6) make -f ins_sqlplus.mk install

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Brian Crabtree
Honored Contributor

Re: /usr/lib/dld.sl error

You should verify that the binary you are running (svrmgrl or sqlplus) is the one you are expecting to run with the "which" command. Also, verify that the SHLIB_PATH is set correctly (LD_LIBRARY_PATH for solaris) for your user, and pointing to the $ORACLE_HOME/lib directory. If this still doesn't resolve the issue, you might need to relink sqlplus and/or oracle by going to the following directories, and running the commands:

cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk install

cd $ORACLE_HOME/sqlplus/lib
make -f ins_sqlplus.mk install

These need to be run with the correct SHLIB_PATH set.

Hope this helps,

brian
T G Manikandan
Honored Contributor

Re: /usr/lib/dld.sl error

1.check your application env.
Might be pointing to the old Oracle directories for the LIBARRY_PATH.

2.There might be some executable which is built with the Oracle libraries.
Probably you have to rebuild the executable to point to the new oracle path.

what is the application you are using.Is it Tuxedo?

Revert