Exception in thread “main” java.lang.UnsatisfiedLinkError: /u01/app/oracle/rcuHome/jdk/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

Error message while invoking Oracle RCU 11.1.1.6.0 32-bit.

Operating System: RHEL 5.5 64-bit

[oracle@mpoojari bin]$ ./rcu
Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/app/oracle/rcuHome/jdk/jre/lib/i386/xawt/libmawt.so: libXtst.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:1807)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1003)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
        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 oracle.sysman.assistants.rcu.ui.InteractiveRCUModel.<init>(InteractiveRCUModel.java:117)
        at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:307)
        at oracle.sysman.assistants.rcu.Rcu.main(Rcu.java:363)

Checked RPMs to make sure libXtst.so.6 was installed.

[oracle@mpoojari ~]$ rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | grep libXtst
libXtst-1.0.1-3.1.x86_64

The error was due to a missing package libXtst-1.0.1-3.1.i386.rpm.

[root@mpoojari cdrom]# find . -name libXtst*
./iso/Server/libXtst-1.0.1-3.1.i386.rpm
./iso/Server/libXtst-1.0.1-3.1.x86_64.rpm
./iso/Server/libXtst-devel-1.0.1-3.1.i386.rpm
./iso/Server/libXtst-devel-1.0.1-3.1.x86_64.rpm
[root@mpoojari cdrom]# rpm -ivh ./iso/Server/libXtst-1.0.1-3.1.i386.rpm
warning: ./iso/Server/libXtst-1.0.1-3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:libXtst                ########################################### [100%]
[root@mpoojari cdrom]# exit
[oracle@mpoojari bin]$ rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | grep libXtst
libXtst-1.0.1-3.1.i386
libXtst-1.0.1-3.1.x86_64

Now I can invoke RCU without an issue.

 

Advertisements

About mpoojari
Oracle Database/Applications Administrator

3 Responses to Exception in thread “main” java.lang.UnsatisfiedLinkError: /u01/app/oracle/rcuHome/jdk/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

  1. Alexey Goloburdin says:

    Thank you for the post! It helped me:)

  2. Stefan says:

    I do the same on Oracle Linux 64 and error is there again.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: