Loading…

Accelerate Your Identity

3... 2... 1...
Ignition!

Exception java.lang.UnsatisfiedLinkError: libawt.so libXp.so.6: cannot open shared object file: No such file or directory

I encountered this error when trying to install Oracle Internet Directory on Redhat Enterprise Server.  The output looked like this:

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-06-15_09-53-57AM. Please wait ...[oracle@id-host2 Disk1]$ Oracle Universal Installer, Version 10.1.0.5.0 Production

Copyright (C) 1999, 2006, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-06-15_09-53-57AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..

java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-06-15_09-53-57AM/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(ClassLoader.java:1560)

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)

        at java.lang.Runtime.loadLibrary0(Runtime.java:788)

        at java.lang.System.loadLibrary(System.java:834)

        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)

        at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)

        at java.awt.Component.<clinit>(Component.java:506)

        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:193)

        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:174)

        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:183)

        at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:278)

        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:714)

        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)

Exception in thread "main" java.lang.NoClassDefFoundError

        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:193)

        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:174)

        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:183)

        at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:112)

        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:772)

        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-06-15_09-53-57AM. Please wait …[oracle@id-host2 Disk1]$ Oracle Universal Installer, Version 10.1.0.5.0 Production
Copyright (C) 1999, 2006, Oracle. All rights reserved.
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-06-15_09-53-57AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-06-15_09-53-57AM/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(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:193)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:174)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:183)
at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:278)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:714)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
Exception in thread “main” java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:193)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:174)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:183)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:112)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:772)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)

This is typically indictive that I haven’t installed all of the required Redhat Packages.  I made a list of all of the RPMs that I usually have to install to then install Oracle Internet Directory.  This list is specific for Redhat (64 bit) … if you are on a 32 bit machine … look for the 32 bit alternative.

To install use the following command:  “rpm -Uvh [package].rpm”  (insert the package name, from the list below, into the command where it says package).

xorg-x11-deprecated-libs-6.8.2-1.EL.52.x86_64.rpm
openmotif21-2.1.30-11.RHEL4.6.i386.rpm
openmotif-2.2.3-10.2.e14.x86_64.rpm
compat-glibc-headers-2.3.2-95.30.x86_64.rpm
compat-glibc-2.3.2-95.30.x86_64.rpm
compat-libstdc++-296-132.7.2.i386.rpm
compat-db-4.1.25-9.i386.rpm
compat-db-4.1.25-9.x86_64.rpm
libstdc++-devel-3.4.6-9.i386
libaio-0.3.105.2.x86_64.rpm
libaio-devel-0.3.105-2.x86_65.rpm
libobjc-3.4.6-10.x86_64.rpm
libieee1284-0.2.8-4.x86_64.rpm
sysstat-5.0.5-16.rhel4.x86_64.rpm
glibc-kernheaders-2.4-9.1.100.EL.x86_64.rpm
glibc-headers-2.3.4-2.39.x86_64.rpm
glibc-devel-2.3.4-2.39.i386.rpm
glibc-devel-2.3.4-2.39.x86_64.rpm
glibc-2.3.4-2.41.x86_64.rpm
gcc-3.4.6-9.x86_64.rpm
gcc-c++-3.4.6-9.x86_64.rpm
gcc-objc-3.4.6-10.x86_64.rpm
sane-backends-1.0.14-6.e14.1.x86_64.rpm

One thought on “Exception java.lang.UnsatisfiedLinkError: libawt.so libXp.so.6: cannot open shared object file: No such file or directory

Leave a Reply