My Oracle Support Banner

OCM install fails with /libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (Doc ID 417899.1)

Last updated on OCTOBER 30, 2019

Applies to:

Oracle Configuration Manager - Version 10.2.4 to 10.2.7
Information in this document applies to any platform.
***Checked for relevance on 16-FEB-2012***


Symptoms

The installation of the Oracle Configuration Manager (OCM) fails with the following error message:

The ORACLE_HOME does not contain a valid JDK. Set JAVA_HOME to a JDK that is 1.2.2 or greater and re-install.

If you run the setup in debug mode:

$ sh -x setupCCR  <CSI number> <user's email url>

You get:

++ /usr/bin/dirname $ORACLE_HOME/ccr
+ _CCR_PARENT$ORACLE_HOME/ora92
+ _JAVA_BIN$ORACLE_HOME/jdk/bin
+ _javaLoc=The ORACLE_HOME
++ $ORACLE_HOME/jdk/bin/java -version
+ java_version=Error occurred during initialization of VM
Unable to load native library: $ORACLE_HOME/jdk/jre/lib/i386/libjava.so: symbol __libc_wait,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference
+ cmd_exit=1
++ /bin/echo Error occurred during initialization of VM Unable to load native library:
$ORACLE_HOME/jdk/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined
in file libc.so.6 with link time reference

Changes

OUI is linked against a special version of the glibc. To use the correct one the dynamic linker
has to be informed about what glibc version is available for this application. To use the right
glibc version for the OUI the LD_ASSUME_KERNEL variable has to be set to LD_ASSUME_KERNEL=2.4.21.

The LD_PRELOAD variable has to be set as well to get this working correctly
LD_PRELOAD=/usr/lib/libInternalSymbols.so

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.