Kbase 20982: Could Not Open libwtc8.so - Oracle 8.x
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/3/2005 |
|
Status: Verified
GOAL:
How to Troubleshoot Dynamic Linker Errors
FACT(s) (Environment):
Oracle DataServer
FIX:
Dynamic Linking errors are seen when accessing Oracle database through the Oracle DataServer. The following is an example of the errors seen:
ERRORS:
dynamic linker: _progres: open libwtc8.so: No such file or directory
Could not open Dynamic Library: opt/oracle/lib/libclntsh.so
DLL Error : dlopen: Cannot map library libwtc8.so
The root cause of these errors point to a problem with dynamic linking Oracle's Shared Library, (libclntsh.*). In this example, the Oracle Shared Library, Libclntsh.* is calling out another library: libwtc8.so (the extension may vary depending on the Operating System), but the operating system cannot find the file. This usually occurs when the executable has the setuid bit turned on, thus causing the OS to look for the dynamic libraries under /usr/lib.
Verify the following:
1) Make sure that file libwtc8.so (extension varies) is present and located within $ORACLE_HOME/lib.
2)
If the Progress executable's SETUID is on, create a soft link for libwtc8.so under /usr/lib.
If the Progress executable's SETUID is off, make sure that $ORACLE_HOME/lib is present within the system library path variable(i.e., LD_LIBRARY_PATH, SHLIB_PATH, etc..)