11g Runinstaller Fails with Error: Java.Lang.Unsatisfiedlinkerror libmawt.so libxext.so.0 or libmawt.so: libXext.so.6 (Doc ID 1366997.1)
SYMPTOMS
While installing Oracle Database 11.2.0.3 on RHEL 6.2 Linux x86-64 the following error is observed:
$ ./runInstaller
..
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-02_10-33-37AM. Please wait ..$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-01-02_10-33-37AM/jdk/jre/lib/amd64/xawt/libmawt.so: libXext.so.6: wrong ELF class: ELFCLASS32
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
..
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-01-02_10-33-37AM. Please wait ..$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-01-02_10-33-37AM/jdk/jre/lib/amd64/xawt/libmawt.so: libXext.so.6: wrong ELF class: ELFCLASS32
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
CAUSE
Linux: Library libXext.so.6 is missing
This is possibly due to the package providing the library being corrupt or not installed
SOLUTION
For Linux:
1. Confirm package libXext is installed. When installing 11.2, 64 bit on Linux 64 bit, ensure libXext 64 bit package is installed.And when installing 11.2, 32 bit client on Linux 32 bit /Linux 64 bit then ensure libXext 32 bit package is installed.Run the following Linux command to check if the package is missing:
$ rpm --query --whatprovides 'libXext.so.6'
2. Re-try invoking the runInstaller (OUI) to install Oracle database 11.2
./runInstaller