Posts Tagged libXp.so.6
TOD – libawt.so : libXp.so.6 error for different executables
Posted by Jay Caviness in Linux, Tip 'o the day on October 2nd, 2008
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.