Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Tuesday, 19 March 2013

Error 11gr2 runInstaller solairs 11 motif21/libmawt.so: ld.so.1: java: fatal: libXm.so

I was trying to Install oracle database 11.2.0.3 on one of newly configured Oracle Solaris 11 X86-64 bit BOX. I have encountered below error message while executing runInstaller:

jdk/jre/ lib/amd64/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so open failed no such file or directory


Cause:

Installer is expecting library file  "libmawt.so" which eventually doesn't exists. So there is  a missing package on OS

Solution:

Install missing package "pkg://solaris/library/motif"

1 - Search for missing package in repository


2 -  Install missing package


3 - Now runInstaller , it should work normally without any errors:


Note:

For Installing this package you should have You IPS properly configured.
Please refer my blog post about configuring IPS if you need more information:
 http://appsdbaworkshop.blogspot.com/2013/03/configuration-of-ips-on-oracle-solaris11.html

Thanks for reading.

Happy troubleshooting :)

regards,
X A H E E R

3 comments:

sguinales said...

with motif installed[1] still have same error[2].

[1]
root@socmsolcrmbbdd01:~# pkg install pkg:/library/motif@0.5.11-0.175.2.0.0.23.0
No updates necessary for this image.

[2]

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-03-23_01-31-16PM. Please wait ... oracle@socmsolcrmbbdd01:/u01/app/data/database$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2015-03-23_01-31-16PM/jdk/jre/lib/sparcv9/motif21/libmawt.so: ld.so.1: java: fatal: libXp.so.1: open failed: No such file or directory

me said...

One of the guys did this and everything worked ok. Documented in Oracle documentation somewhere.

export AWT_TOOLKIT=XToolkit

No need to install motif.

kanishka said...

Good Doc