jump to navigation

TOD – libawt.so : libXp.so.6 error for different executables October 2, 2008

Posted by grumpydba in Linux, Tip 'o the day.
Tags: , , , ,
add a comment

I have seen errors like:

Exception in thread “main” java.lang.UnsatisfiedLinkError: /oracle/product/10.2.0/asm_1/jdk/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

happen on new linux installs (OEL5 and RHEL5) for srvctl, netca and several other commands, the problem is that several Oracle executables are using X library calls that are now deprecated in the RHEL/OEL5 versions of Linux.   The simplest fix is to add the xorg-x11-deprecated-libs-6.8.2-1.EL.33.i386.rpm with the following command (as root):

rpm -Uvh xorg-x11-deprecated-libs-6.8.2-1.EL.33.i386.rpm

It is the same rpm for 64 and 32bit O/S installations.   Once applied, the errors go away and the application should run normally.

Follow

Get every new post delivered to your Inbox.