Monday, August 20, 2012

RCU installation - libXtst.so.6: cannot open shared object file

Hi All
This is the error that I got during the Discoverer 11g installation on OEL6 or RH6 - 64bit
When I run the RCU installation:

$ ./rcu
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/Installation/rcu/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:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
        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:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1695)
        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:1592)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1614)
        at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
        at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
        at
com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
        at
oracle.sysman.assistants.rcu.ui.InteractiveRCUModel.<init>(InteractiveRCUModel.java:117)
        at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:288)
        at oracle.sysman.assistants.rcu.Rcu.main(Rcu.java:332)

Cause: 
libXtst rpm for 32 bit is missing.

Action:
Please check that the libXtst-xx.el6.i686.rpm (32 bit) installed. 
rpm -qa |grep libXtst
If not, need to install:
rpm -ivh libXtst-xx.el6.i686.rpm

Good Luck ...

23 comments:

  1. Its already installed but same error its throwing ,,,,,

    [oracle@ftd-monitor01 ~]$ rpm --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' -q libXt
    libXt-1.0.2-3.2.el5.x86_64
    libXt-1.0.2-3.2.el5.i386

    ReplyDelete
    Replies
    1. Hi
      Please check that the links on you system are ok.
      Ls -ltr /usr/lib/libXtst.so.6
      it need point to /usr/X11R6/lib/libXtst.so.6.1
      if not,
      unlink /usr/lib/libXtst.so.6
      ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

      Delete
    2. [oracle@ftd-monitor01 ~]$ ls -ltr /usr/lib/libXtst.so.6
      ls: /usr/lib/libXtst.so.6: No such file or directory

      Delete
    3. Show me the results for the following command in your Linux:
      rpm -qa |grep libXtst

      Delete
    4. ALso please run the following command:
      find / -name *libXtst.so.6*
      You need to get the following results:
      /usr/lib/libXtst.so.6
      /usr/lib/libXtst.so.6.1.0
      /usr/lib64/libXtst.so.6
      /usr/lib64/libXtst.so.6.1.0

      If not, the RPM not installed

      Delete
    5. [oracle@ftd-monitor01 ~]$ rpm -qa |grep libXtst
      libXtst-1.0.1-3.1
      libXtst-1.0.1-3.1

      Delete
  2. [oracle@ftd-monitor01 ~]$ find / -name *libXtst.so.6*
    find: No match.

    ReplyDelete
    Replies
    1. [oracle@ftd-monitor01 ~]$ ls -l /usr/lib64/libXtst.so.6
      lrwxrwxrwx 1 root root 16 Jun 19 14:58 /usr/lib64/libXtst.so.6 -> libXtst.so.6.1.0
      [oracle@ftd-monitor01 ~]$ ls -l /usr/lib64/libXtst.so.6
      lrwxrwxrwx 1 root root 16 Jun 19 14:58 /usr/lib64/libXtst.so.6 -> libXtst.so.6.1.0

      Delete
    2. Download libXtst-1.0.1-3.1el5 i386 and apply it on your OS

      Delete
  3. Hi
    I am trying to install RCU for OBIA but when i execute ./rcu it shows same error as above you mentioned but i am not getting to how to resolve it. i tried to find / -name command it showing me long list. what i do next?

    ReplyDelete
    Replies
    1. Hi,
      Have you checked that required RPM installed?

      Delete
    2. i checked it. i will send you screen shot of it

      Delete
    3. Hi Arty,

      i have this same issue, i see that i have istalled libXt for 64 bit

      rpm --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' -q libXt
      libXt-1.1.5-3.el7.x86_64
      when i run
      [root@nowybistst ~]# yum install libXtst.i686 Loaded plugins: ulninfo
      Package libXtst-1.2.3-1.el7.i686 already installed and latest version
      Nothing to do

      can you advise ?

      BR,

      Delete
  4. hi Arty,
    I also facing the same issue.can you help me?

    ReplyDelete
    Replies
    1. Hi Raj.
      Please check that you have the 32bit rpm installed. you can check it with command : rpm -qa |grep libXtst

      Delete
    2. this is my output arty,next what i need to do?
      libXtst-devel-1.0.99.2-3.el6.x86_64
      libXtst-1.0.99.2-3.el6.x86_64

      Delete
    3. You can see that you have only 64bit rpms.Now need to install the 32bit rpms.
      If you have yum , you can run the following command:
      yum install libXtst.i686

      Delete
    4. Loaded plugins: aliases, changelog, downloadonly, kabi, presto, protect-
      : packages, refresh-packagekit, rhnplugin, security, tmprepo,
      : verify, versionlock
      This system is not registered with RHN.
      RHN support will be disabled.
      Loading support for Red Hat kernel ABI
      Setting up Install Process
      No package libXtst.i686 available.
      Error: Nothing to do

      Delete
    5. You have no yum.
      you can download the rpm here:
      http://rpm.pbone.net/index.php3/stat/4/idpl/15996875/dir/scientific_linux_6/com/libXtst-1.0.99.2-3.el6.i686.rpm.html

      Delete
    6. thanks for giving response arty.
      in that link i am getting no object found.can you share me any alternative link?

      Delete
    7. Please send me your mail in contact me page and I will send you the rpm

      Delete