2009-06-19

Running Oracle Universal Installer on Red Hat Enterprise Linux 5

Have not updated this blog for more than a month now, due to heavy work commitment. Here is a lesson learnt from the course of work.

If you're trying to run the Oracle Universal Installer (version 10.2) on Red Hat Enterprise Linux 5, you may run into the following error:

[me@myhost client]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-06-18_09-58-12AM. Please wait ...[me@myhost client]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-06-18_09-58-12AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: 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)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.(Unknown Source)
        at java.awt.Component.(Unknown Source)



The solution is to install the libXp-1.0.0-8.1.el5.i386 package. Yes, make sure that it's the i386 package, EVEN IF you are trying to install a 64-bit Oracle product on a 64-bit system. This is because the Oracle Universal Installer is a 32-bit application.

Download the package libXp-1.0.0-8.1.el5.i386.rpm package and install it by doing

rpm -iv libXp-1.0.0-8.1.el5.i386.rpm

The Oracle installer should now run fine. HTH.