Kbase P6907: Error 8013 occurs when connecting ORACLE on Solaris
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/11/2008 |
|
Status: Verified
SYMPTOM(s):
Error 8013 occurs when connecting ORACLE on Solaris
Could not open Dynamic Library: <libraryName> (8013)
Could not open Dynamic Library: $ORACLE_HOME/lib/libclntsh.so (8013)
FACT(s) (Environment):
_progres executable has the SETUID bit on
LD_LIBRARY_PATH includes $ORACLE_HOME/lib directory
Created only a soft link like following
/usr/bin/ln -s $ORACLE_HOME/lib/libclntsh.so /usr/lib/libclntsh.so
After soft link is created, no change in behavior
Progress 9.1x
Oracle DataServer
Sun Solaris SPARC
CAUSE:
Oracle shared library libclntsh.so is not finding Oracle shared library libwtc8.so. libclntsh.so is dynamically linked to libwtc8.so, thus when _progres dynamically loads libclntsh.so, both libclntsh.so and libwtc8.so should be available to the dynamic linker. Both libraries needed to have the soft link created. In this case, the soft link was created for libclntsh.so only.
The reason that LD_LIBRARY_PATH is not in effect to dictate where to load shared libraries is that OS limits any SETUID executables to load shared libraries from only /usr/lib directory as a security measure.
FIX:
Create soft link as
/usr/bin/ln -s /$ORACLE_HOME/lib/libwtc8.so /usr/lib/libwtc8.so