Today, I was trying to install Oracle9i on Redhat 5.3 (2.6.18 kernel), got the following error when runInstaller was involved:
$ Initializing Java Virtual Machine from /tmp/OraInstall2009-05-09_06-44-18AM/jre/bin/java. Please wait...
/tmp/OraInstall2009-05-09_06-44-18AM/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
When check for libstdc++- library, I found the following to be installed by default on RH 5.3:
[root@alps tmp]# rpm -qa |grep libstdc++-
Looks like it is looking for libstdc++-lib6.1-1.
When I did the following the initial error message disappeared:
# cd /usr/lib
# ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
Then I got the following error:
$ Initializing Java Virtual Machine from /tmp/OraInstall2009-05-09_06-50-11AM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2009-05-09_06-50-11AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
When applied the oracle patch: 3006854 - it fixed it:
[root@alps 3006854]# sh rhel3_pre_install.sh
Ensuring permissions are correctly set...
Patch successfully applied