English

Error: ArcSDE Fatal Error: cannot map libclntsh.so.8.0 or libclntsh.so.1.0

Error Message

On ArcSDE 8.0.x:

sdemon -o start
Please enter ArcSDE DBA password:
23597:/esri/oraexe/sdeexe302/bin/giomgr: /sbin/loader: Fatal Error: cannot map libclntsh.so.8.0

Could not start ArcSDE -- Check Network, $SDEHOME disk, DBMS

On SDE 3.x:

sdemon -o start
Please enter ArcSDE DBA password:
23597:/esri/oraexe/sdeexe80/bin/giomgr: /sbin/loader: Fatal Error: cannot map libclntsh.so.1.0

Could not start ArcSDE -- Check Network, $SDEHOME disk, DBMS settings and dbinit.sde.

Cause

The path to your Oracle shared libraries is not in your shared objects library path environment variable.

Solution or Workaround

Include $SDEHOME/lib and $ORACLE_HOME/lib paths in the system environment variable for used for locating shared libraries. Keep any paths to shared libraries already listed in the environment variable. The environment variable name is different on different Unix variants.

HP-UX: SHLIB_PATH
IBM AIX: LIBPATH
Other Unix variants: LD_LIBRARY_PATH

Here is an example, based on Sun Solaris, where $SDEHOME is "/arc/oraexe80/lib" and $ORACLE_HOME is "/app/oracle/orc8":

LD_LIBRARY_PATH /arc/oraexe80/lib:/apps/oracle/orc8/lib:/usr/lib:/lib