11 Replies Latest reply: Mar 12, 2010 6:23 AM by user12098934 RSS

    Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared

    737294
      Hello,
      I am trying to install EBS R12.1 on linux x86-64 getting the following errors when runs Rapidwiz or
      preinstrallation script adautostg.pl.

      Your help is appreciated

      1- running rapidwiz
      root@localhost rapidwiz# pwd
      /StageR12/startCD/Disk1/rapidwiz
      root@localhost rapidwiz# ./rapidwiz

      Rapid Install Wizard is validating your file system......
      4 dvd labels found
      Rapid Install Wizard will now launch the Java Interface.....

      root@localhost rapidwiz# Exception in thread "main" java.lang.UnsatisfiedLinkError: /StageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/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(Unknown Source)
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.load0(Unknown Source)
      at java.lang.System.load(Unknown Source)
      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)

      2- running preinstrallation script adautostg.pl
      root@localhost rapidwiz# pwd
      /StageR12/startCD/Disk1/rapidwiz

      root@localhost rapidwiz# perl adautostg.pl

      If you are executing the staging script from the CD/DVD,
      you must change the current directory in this
      session to a directory outside of the media mount point
      so that you will be able to eject the CD/DVD and proceed the staging.
      sh: xterm: command not found
      root@localhost rapidwiz#

      Many thanks!

      rapidwiz , adautostg , libmawt , libxtst6 , linux , x86 , 64bit
        • 1. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
          Hussein Sawwan-Oracle
          Hi,

          /xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

          Make sure you have all OS pre-req. software installed and follow all the steps in (Note: 761566.1 - Oracle Applications Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64).
          2- running preinstrallation script adautostg.pl
          root@localhost rapidwiz# pwd
          /StageR12/startCD/Disk1/rapidwiz

          root@localhost rapidwiz# perl adautostg.pl

          If you are executing the staging script from the CD/DVD,
          you must change the current directory in this
          session to a directory outside of the media mount point
          so that you will be able to eject the CD/DVD and proceed the staging.
          When you run adautostg.pl script, make sure you are not in the DVD directory so you can eject it for the next media. This is already mentioned in the installation manual.

          Oracle Applications Installation Guide: Using Rapid Install
          http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121oaig.pdf

          Regards,
          Hussein
          • 2. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
            737294
            Thank you Hussein!
            Actually, I already followed all instaructions from the Note: 761566.1.
            I added many packages which was needed,
            added neccessary path to $PATH,
            ran the program from outside the CD/DVD,
            not sure what I am missing and don't know why I always get the same errors.

            Let me give some details of steps I have done, so that experts like yourself may be able to find out
            what is missing (I am kind of new to Linux).

            - downloaded all zip files and stored them into a USB HDD, organized them in dir/subdirs
            - created a dir "StageR12" in the USB HDD
            - with root login unzipped the files one by one into dir "StageR12" in the USB HDD.
            for example when I am in
            media/Secure HDD/Apps4Linux-x86-64/apps1211/1-Start
            ( "Secure HDD" is the name of USB HDD on my Linux file system)
            I run this:
            # unzip ./Apps4Linux-x86-64/apps1211/1-Start/B53824-01_1of4.zip -d ./StageR12
            this unzips B53824-01_1of4.zip into StageR12 dir and creats all neccessar dirs/subdirs.

            do i need to unzip files under oracle user? I did it with root user.

            - next I ran the script adautostg.pl from outside the USB HDD, but i got the error, this is what i did:
            ...........................
            [root@localhost /]# cd /
            [root@localhost /]# pwd
            /
            [root@localhost /]# perl /StageR12/startCD/Disk1/rapidwiz/adautostg.pl

            If you are executing the staging script from the CD/DVD,
            you must change the current directory in this
            session to a directory outside of the media mount point
            so that you will be able to eject the CD/DVD and proceed the staging.
            sh: xterm: command not found
            [root@localhost /]#
            ...........................

            does this message means i need to install anything: "sh: xterm: command not found"
            this is what i have:
            [root@localhost /]# echo $SHELL
            /bin/bash

            also for $PATH I added neccessary path:

            [root@localhost~]# echo $PATH
            /usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

            [root@localhost ~]# PATH=$PATH:/usr/bin/perl:/usr/bin/ar:/usr/lib64/ccache/gcc:/usr/lib64/ccache/g++:/usr/bin/ld:/usr/bin/linux32:/usr/bin/make:/usr/bin/X

            [root@localhost ~]# echo $PATH
            /usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/bin/perl:/usr/bin/ar:/usr/lib64/ccache/gcc:/usr/lib64/ccache/g++:/usr/bin/ld:/usr/bin/linux32:/usr/bin/make:/usr/bin/X

            I even copied the entire StageR12 dir from the USB HDD into the machine file system, but
            still same errors:

            [root@localhost Secure HDD]# pwd
            /media/Secure HDD

            [root@localhost Secure HDD]# cp -r StageR12 /
            this created all files inside the machine file system.
            when I run the files from this dir inside the machine I get the same errors

            [root@localhost /]# pwd
            /
            [root@localhost /]# cd StageR12
            [root@localhost StageR12]# ls
            epd_mass_upload_sample_manifest.xml oraAppDB oraApps oraAS oraDB startCD

            [root@localhost StageR12]# cd startCD
            [root@localhost startCD]# ls
            autorun.inf component.label README.txt welcome.html XMLPUB
            BSC Disk1 ShelExec.exe WFEMB

            [root@localhost startCD]# cd Disk1
            [root@localhost Disk1]# ls
            doc html images rapidwiz

            [root@localhost Disk1]# cd rapidwiz
            [root@localhost rapidwiz]# ls
            adautostg.pl driver images oui RapidWiz.ini template
            bin etc jlib rapidwiz RapidWizVersion unzip
            ClientWiz.cmd File jre RapidWiz.cmd RapidWizVersion.cmd

            [root@localhost rapidwiz]# pwd
            /StageR12/startCD/Disk1/rapidwiz
            [root@localhost rapidwiz]# perl ./adautostg.pl

            If you are executing the staging script from the CD/DVD,
            you must change the current directory in this
            session to a directory outside of the media mount point
            so that you will be able to eject the CD/DVD and proceed the staging.
            sh: xterm: command not found

            [root@localhost rapidwiz]# ./rapidwiz


            Rapid Install Wizard is validating your file system......
            4 dvd labels found
            Rapid Install Wizard will now launch the Java Interface.....

            [root@localhost rapidwiz]# Exception in thread "main" java.lang.UnsatisfiedLinkError: /StageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/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(Unknown Source)
                 at java.lang.ClassLoader.loadLibrary(Unknown Source)
                 at java.lang.Runtime.load0(Unknown Source)
                 at java.lang.System.load(Unknown Source)
                 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)
            ^C
            [root@localhost rapidwiz]#
            • 3. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
              Hussein Sawwan-Oracle
              Hi,
              - downloaded all zip files and stored them into a USB HDD, organized them in dir/subdirs
              - created a dir "StageR12" in the USB HDD
              - with root login unzipped the files one by one into dir "StageR12" in the USB HDD.
              for example when I am in
              media/Secure HDD/Apps4Linux-x86-64/apps1211/1-Start
              ( "Secure HDD" is the name of USB HDD on my Linux file system)
              I run this:
              # unzip ./Apps4Linux-x86-64/apps1211/1-Start/B53824-01_1of4.zip -d ./StageR12
              this unzips B53824-01_1of4.zip into StageR12 dir and creats all neccessar dirs/subdirs.

              do i need to unzip files under oracle user? I did it with root user.
              No, you can do with root, just make sure you have the files permission to 777 so all user can have access to it.
              - next I ran the script adautostg.pl from outside the USB HDD, but i got the error, this is what i did:
              If you have downloaded the files from e-Delivery website, then you do not have to use the adautostg.pl script to create the stage area directory! Just place all the files in the Stage12 directory, extract it all, and this will create the stage directory for you. Next step would be running the installer.

              Regards,
              Hussein
              • 4. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                737294
                Thanks again Hussein !
                Yes, I have done chmod 777 foir the entire Staging dir and all subdirs/files by doing this:
                [root@localhost /]# chmod 777 -R StageR12
                this gave permission to all of them.
                but rapidwiz fails,
                it's good you told me i don't need to run adautostg.pl script, so at least one error less.
                i ran installer (Rapidwiz) from many different dir, and same error in results.
                • 5. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                  Hussein Sawwan-Oracle
                  Hi,

                  Please run md5sum to verify the integrity of the stage area directory -- See (Note: 802195.1 - MD5 Checksums for R12.1.1 Rapid Install Media).

                  Regards,
                  Hussein
                  • 6. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                    737294
                    Hi Hussein,
                    I followed the steps in Note 802195.1, ran md5sum using the files provided in the Note
                    (one file for stage area without startCD R12.1.1-Linux 64-bit,
                    the other file for startCD R12.1.1 startCD - Version 12.1.1.10 - I used this version because I have used latest
                    patch for startCD which is p8626041_R12_GENERIC.zip).

                    Results of md5sum:
                    In the results of md5sum all lines came back with OK.
                    There was no Failure.
                    Both output files (stage area without startCD and the file for startCD version 12.1.1.10) have OK at the end
                    of each lines.
                    Thank you so much for your help. I appreciate all your help.
                    It's good to know the Note 802195.1 you told me about. I had no idea there is such way to make sure
                    the intergrity of files in staging area.

                    Despite the fact the files are OK, the issue still occurs.
                    • 7. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                      Hussein Sawwan-Oracle
                      Hi,
                      Exception in thread "main" java.lang.UnsatisfiedLinkError: /StageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
                      Can you locate this file in the stage area directory?

                      Btw, what is the OS? IF you are on RHEL/OEL 5, please make sure that LD_ASSUME_KERNEL is not set.

                      Regards,
                      Hussein
                      • 8. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                        737294
                        Thanks Hussein,

                        Please see the 4 items below:

                        1-) I placed a copy of that file libXtst.so.6 in the staging dir, to make sure nothing is missing, I placed the copy into two directories:
                        /StageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt
                        /StageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/motif21

                        restarted the computer, unfortunately the same error when running rapidwiz.

                        2-) In the Note 761564.1 there is section "Link to Motif library.."
                        there are two linux commands:
                        unlink ...
                        ln -s

                        I though if I can try them it may fix the error,
                        first of all the two commands cannot be used for linux-x86-64,
                        for x86-64 systems the "/lib/" should be replaced by "/lib64/"

                        second of all (VERY IMPORTANT) I tried the "unlink" and "ln -s" command above (the modified ones with /lib64/)
                        on my system and... my OS (Linux) CRASHED !!!
                        I couldn't access anything, restarted system didn't launch Linux properly.
                        I couldn't restore system. so I spent a lot of time reinstalling Linux,
                        luckily I had all my staging files in USB HDD.

                        ( I hope author of the note 761564.1 can see my results in case they need to modify the note).

                        I reinstalled all Linux, all packages, went through all steps of the installation user's guide and above note #.
                        still got same error.

                        3-) One thing I noticed which might be the cause of the issue:
                        when i tried to install package "xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm"
                        it didn't seem to complete successfully, in the results it showed:
                        "Package xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm is not signed"
                        could this be any problem ?

                        for this package this is details of what I submitted and the results:

                        [root@localhost Additional-pakg-needed]# yum install xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
                        Loaded plugins: refresh-packagekit
                        Setting up Install Process
                        Examining xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm: xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
                        Marking xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm to be installed
                        Resolving Dependencies
                        --> Running transaction check
                        ---> Package xorg-x11-libs-compat.i386 0:6.8.2-1.EL.33.0.1 set to be updated
                        --> Processing Dependency: libXext.so.6 for package: xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
                        --> Running transaction check
                        ---> Package libXext.i586 0:1.0.99.1-3.fc11 set to be updated
                        --> Finished Dependency Resolution

                        Dependencies Resolved

                        ================================================================================
                        Package Arch Version Repository Size
                        ================================================================================
                        Installing:
                        xorg-x11-libs-compat i386 6.8.2-1.EL.33.0.1 /xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
                        17 k
                        Installing for dependencies:
                        libXext i586 1.0.99.1-3.fc11 updates 35 k

                        Transaction Summary
                        ================================================================================
                        Install 2 Package(s)
                        Upgrade 0 Package(s)

                        Total size: 52 k
                        Is this ok [y/N]: y
                        Downloading Packages:


                        Package xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm is not signed

                        4-) regarding your question on LD_ASSUME_KERNEL and OS type:
                        I am using Linux Fedora version 11 for x86-64 bit.
                        Please note, I first tried to install Oracle Linux, but it had so many bugs and i even couldn't install it after working
                        on it for one week.
                        Then I tried fedora 11 and it did install successfully without any problem in less than an hour!!

                        I have not setup any value for LD_ASSUME_KERNEL, I am not sure if system has assigned any value to it,
                        but when I run echo it comes back with blank value.

                        [root@localhost /]# echo $LD_ASSUME_KERNEL

                        [root@localhost /]# uname -a
                        Linux localhost.localdomain 2.6.30.9-96.fc11.x86_64 #1 SMP Wed Nov 4 00:02:04 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

                        Thanks a million!!

                        Edited by: user12276605 on Nov 30, 2009 12:19 AM

                        Edited by: user12276605 on Nov 30, 2009 12:24 AM
                        • 9. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                          Hussein Sawwan-Oracle
                          Hi,

                          Please see if (Note: 824249.1 - Libxi.So.6: Cannot Open Shared Object File: No Such File When Rapidwiz is Started to Install 12.1.1) is applicable.

                          Regards,
                          Hussein
                          • 10. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                            737294
                            Thank you Hussein,
                            This note is exactly the same error.
                            I am trying to find the package and install it.

                            when I try to install libXi it doesn't install the i386 version as I already have 64 bit

                            [root@localhost /]# yum install libXi
                            Loaded plugins: refresh-packagekit
                            Setting up Install Process
                            Package libXi-1.2.1-1.fc11.x86_64 already installed and latest version
                            Nothing to do

                            I will search on internet to see if there is any place to download the i386 (libXi.i386)
                            may be I post a question to linux forum.
                            I appreciate all your help. I am now confident if I install the package this error will disappear.
                            • 11. Re: Rapidwiz R12.1 on Linux 64 getting error libXtst.so.6: cannot open shared
                              user12098934
                              plz install a rpm "xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm"

                              try it