Tuesday, February 26, 2013

Oracle patch set install failed with error “libawt.so: libXp.so.6: cannot open shared object file"


We have received below error when we are applying 10.2.0.4 patch set (Oracle 10g R2) on REHL5.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-01-10_09-32-18AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-01-10_09-32-18AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory.”

Normally you will receive this error when 32bit libraries are missing. Before applying the patch make sure you have both 32bit and 64bit libraries are installed on the system as per Oracle recommendation.

Solution: Install missing 32bit RPM’s for libXt, libXp and libXtst

libXp 32bit
libXt  32bit
libXtst 32bit 

The 32bit RPM's should solve the problem. If you still see any issues then you might be missing other RPM's and  refer Oracle Documentation.

Regards,
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com

1 comment: