Whenever you run Oracle Universal Installer to install oracle software it fails with Exception java.lang.UnsatisfiedLinkError indicating libXp.so.6: cannot open shared object file: No such file or directory.
$./runInstaller
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-03-02_10-57-23AM. Please wait ...$oracle Universal Installer , Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-03-02_10-57-23AM/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-03-02_10-57-23AM/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.
at java.awt.Component.
Cause of the Problem
Oracle tries to open the shared object file libXp.so.6 but it could not find any. In RHEL 4 and from fedora core release (1,2,3,4 ....) "libXp.so.6" is deprecated and as such, the "xorg-x11-deprecated-libs" package is missing.
If available, then "libXp.so.6" should be found in the /usr/X11R6/lib64 directory of Linux.
On disk 2 of the linux installation CD "libXp.so.6", is available under rpm package,
xorg-x11-deprecated-libs-
Solution of the problem
Install the missing "xorg-x11-deprecated-libs" package.
1)Issue the following command to be sure whether libXp is missing,
$ rpm --query --whatprovides 'libXp.so.6'
or by,
$ rpm --query --whatprovides 'libXp.so.6'
2)Install the package by,
# rpm -ivh xorg-x11-deprecated-libs.
Examples of rpm packages containing libXp.so.6 are,
xorg-x11-deprecated-libs-6.8.1-12.i386.rpm,
xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
No comments:
Post a Comment