Consultor Eletrônico



Kbase P572: Dsrv. ORACLE AIX: Creation of softlink to /usr/lib resolved error: Could Not Load Module libclntsh.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/07/2007
Status: Verified

FACT(s) (Environment):

IBM AIX
ORACLE DataServer

SYMPTOM(s):

Errors occur when running _progres executable linked to ORACLE

Errors occur when running _orasrv executable linked to ORACLE

Could not load program ./_progres:
Dependent module libclntsh.a(shr.o) could not be loaded.

Could not load program ./_orasrv:
Dependent module libclntsh.a(shr.o) could not be loaded

Could not load module libclntsh.a(shr.o).
Error was: No such file or directory

LIBPATH includes $ORACLE_HOME/lib directory which has libclntsh.a

SETUID on for executables

Can not turn SETUID off

CAUSE:

On some Unix platforms especially AIX, for security considerations, when the SETUID bit is enabled for an executable, the system will search and load shared libraries from /usr/lib only. It will not search the shared library path, i.e., LIBPATH.

FIX:

Create a soft link to /usr/lib for the shared library.

To do this, do the following:

su
ln -s $ORACLE_HOME/lib/libclntsh.a /usr/lib