Get a Free iPhone 4 from Xpango - click here

Wednesday, August 25, 2010

libXp.so.6: cannot open shared object file: No such file or directory

Last weekend i was trying to install Oracle 10g Release2 on Fedora 13 on a friends machine.
After installing the required packages and setting the kernel parameters,i was stuck with an error.
Below is the error:

[oracle@localhost database]$ ./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/OraInstall2010-08-25_03-00-34PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-08-25_03-00-34PM/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.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)

The error was due to "libXp.so.6"  which cannot be find in /usr/lib.

To fix this problem you need to install libXp package.

On this machine i used "yum install libXp" command to install this package.

Or you can search for libXp package according to your linux flavour and version.

After successful installation of this package you will find libXp.so.6 in /usr/lib.

Now the installer should run without any problem..

No comments:

Post a Comment