Sunday, 26 February 2017

/jdk/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory



Error:-
=======================================

[grid@rac151 grid]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 8744 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4999 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-02-25_10-12-48PM. Please wait ...[grid@rac151 grid]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2017-02-25_10-12-48PM/jdk/jre/lib/i386/xawt/libmawt.so: libXext.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(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)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1670)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1779)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:453)
at oracle.install.commons.util.Application.startup(Application.java:780)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)



Solution:-
======================================================================

Download and install All Rpms below mentioned.

rpm -ivh openmotif21-2.1.30-11.EL6.i686.rpm --force  --nodeps
rpm -ivh xorg-x11-libs-6.8.2-1.EL.33.0.1.WB1.i386.rpm --force  --nodeps
rpm -ivh binutils-2.20.51.0.2-5.11.el6.i686.rpm --force  --nodeps
rpm -ivh binutils-2.20.51.0.2-5.11.el6.x86_64.rpm --force  --nodeps
rpm -ivh gcc-4.4.4-13.el6.x86_64.rpm --force  --nodeps
rpm -ivh gcc-4.4.5-6.el6.x86_64.rpm --force  --nodeps
rpm -ivh gcc-c++-4.4.4-13.el6.x86_64.rpm --force  --nodeps
rpm -ivh glibc-2.12-1.7.el6_0.5.i686.rpm --force  --nodeps
rpm -ivh glibc-2.12-1.7.el6.x86_64.rpm --force  --nodeps
rpm -ivh glibc-common-2.12-1.7.el6.x86_64.rpm --force  --nodeps
rpm -ivh glibc-devel-2.12-1.7.el6.i686.rpm --force  --nodeps
rpm -ivh glibc-devel-2.12-1.7.el6.x86_64.rpm --force  --nodeps
rpm -ivh libgcc-4.4.4-13.el6.i686.rpm --force  --nodeps
rpm -ivh libgcc-4.4.4-13.el6.x86_64.rpm --force  --nodeps
rpm -ivh libstdc++-devel-4.4.4-13.el6.i686.rpm --force  --nodeps
rpm -ivh libstdc++-devel-4.4.4-13.el6.x86_64.rpm --force  --nodeps
rpm -ivh libstdc++-4.4.4-13.el6.i686.rpm --force  --nodeps
rpm -ivh libstdc++-4.4.4-13.el6.x86_64.rpm --force  --nodeps
rpm -ivh make-3.81-19.el6.x86_64.rpm --force  --nodeps
rpm -ivh libXrender-0.9.5-1.el6.i686.rpm --force  --nodeps
rpm -ivh libXp-1.0.0-15.1.el6.x86_64.rpm --force  --nodeps
rpm -ivh libaio-0.3.107-10.el6.i686.rpm --force  --nodeps
rpm -ivh libaio-0.3.107-10.el6.x86_64.rpm --force  --nodeps
rpm -ivh libgomp-4.4.4-13.el6.x86_64.rpm --force  --nodeps
rpm -ivh sysstat-9.0.4-11.el6.x86_64.rpm --force  --nodeps
rpm -ivh util-linux-ng-2.17.2-6.el6.x86_64.rpm --force  --nodeps
rpm -ivh unzip-5.51-10.el5.src.rpm --force  --nodeps
rpm -ivh compat-libstdc++-33-3.2.3-69.el6.i686.rpm --force  --nodeps
rpm -ivh compat-libstdc++-296-2.96-144.el6.i686.rpm --force  --nodeps
rpm -ivh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm --force  --nodeps
rpm -ivh elfutils-libelf-0.148-1.el6.x86_64.rpm --force  --nodeps
rpm -ivh kernel-uek-2.6.39-400.17.1.el6uek.x86_64.rpm --force  --nodeps
rpm -ivh libaio-0.3.107-10.el6.x86_64.rpm --force  --nodeps
rpm -ivh unixODBC-2.2.14-11.el6.i686.rpm --force  --nodeps
rpm -ivh unixODBC-2.2.14-11.el6.x86_64.rpm --force  --nodeps
rpm -ivh unixODBC-devel-2.2.14-11.el6.i686.rpm --force  --nodeps
rpm -ivh unixODBC-devel-2.2.14-11.el6.x86_64.rpm --force  --nodeps
rpm -ivh xorg-x11-utils-7.4-8.el6.x86_64.rpm --force  --nodeps

rpm -ivh un* --force --nodeps

Download and install

jdk-6u45-linux-i586-rpm.bin

#sh jdk-6u45-linux-i586-rpm.bin


1 comment: