Tuesday 31 January 2023

Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/soft/ebs/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

Error while launching rapidwiz during EBS 12.2 Installation


 Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/soft/ebs/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



[oracle@oel76 rapidwiz]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/soft/ebs/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)
Could not find the main class: oracle.apps.ad.rapidwiz.RIWizard.  Program will exit.

Soltuion:

Mount the Linux CD Rom and then replace the below packages from the CDROM

cd /run/media/root/OL-7.6 Server.x86_64/Packages

rpm -Uhv libXtst-* libXi-* --replacepkgs --force

This worked

Additionally, if it doen't work.. please try to replace the below packages also. 

cd /run/media/root/OL-7.6 Server.x86_64/Packages

rpm -Uhv libXext-1.1-3.el7* libXext-devel-1.1-3.el7* libX11-*.rpm libxcb-*.rpm libXau-*.rpm --replacepkgs

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory - while building stage during 12.2

 /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory


Cause

  • The Linux box is on a 64-bit system, and does not have 32-bit library support installed.
  • Resolution

    Make sure glibc.i686 and glibc.x86_64 is installed on the system.
    If glibc.i686 is not available on the Centos-6, try glibc.i386

    To list all the package with prefix "glibc"
    Run:
    yum list glibc.

    To install the package:
    Run
    sudo yum install glibc.i686
    or
    sudo yum install glibc.i386

    If you do not have sudo setup in the environment, type "su" to accquire superuser authority first.
    Then run:
    yum install glibc.i686

XX_XXXXXXX is not a valid responsibility for the current user. Please contact your System Administrator.

  XX_XXXXXXX is not a valid responsibility for the current user. Please contact your System Administrator. Issue : When user logs into EBS, ...