Exception in thread "main" java.lang.UnsatisfiedLinkError:
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
Hi:
I have an intel i7 with windows7 64b , then install VMware Workstation and create a machine with Oracle enterprise Linux 64b 5update4, now i want to inatall oracle db10gR2, but this message apears
[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-04-04_09-51-42AM/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)
PROBLEM:
Problem Description
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.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
ROOT CAUSE:
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,
SOLUTION:
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.<version-info>.rpm
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.