Saturday, November 20, 2010

"cannot open shared object file" when installing Oracle Database 10g on Oracle Enterprise Linux 5.5


When installing Oracle Database 10g (10.2.0) on Oracle Enterprise Linux 5.5 or Red Hat Enterprise Linux 5.5, you may receive the following error:
oracle@oradev:/u01/app/install_software/database> ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-5, SuSE-9, redhat-4, UnitedLinux-1.0, asi

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-11-14_11-35-24PM. P
all_software/database> Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraI
b/i386/ cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
The database install file used was

Additional Notes:

Note that out-of-the-box, Oracle Database 10g does not recognize OEL 5.5 as a valid operating system. There are 3 different options to work around this:

1. Update the installation file database/install/oraparam.ini and replace all occurences of "redhat-3" to "redhat-5".

2. Update the /etc/redhat-release file to trick the installer.

3. Follow Metalink Note ID 564174.1.


As for the error above, simply mount Disk 3 of the OEL 5.5 media, and apply the following RPM:
rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
Rerun the installer and you should be fine.

Applicable Versions:
  • Oracle Enterprise Linux 5.5 32-bit
  • Oracle Database 10g ( 32-bit


No comments: