AS10gR2 — librwu.so: libXm.so.2: cannot open shared object file: No such file or directory

Got following error message in Oracle AS10gR2 (10.1.2.3) on RHEL 5:
 
$ORACLE_HOME/opmn/logs/OC4J~OC4J_BI_Forms~default_island~1
java.lang.UnsatisfiedLinkError: $ORACLE_HOME/lib/librwu.so: libXm.so.2: cannot open shared object file: No such file or directory

Workaround:
download and install:
http://oss.oracle.com/projects/compat-oracle/dist/files/Enterprise_Linux/openmotif21-2.1.30-11.EL5.i386.rpm
# rpm -i openmotif21-2.1.30-11.EL5.i386.rpm

Reason:
Oracle only use that openmotif version, even I got higher version. Hehe.

Reference:
Only OpenMotif 2.1.X (where X>=30) Supported For Oracle Reports and Forms 6i, 9i, 10g, 10g Rel2 on Linux [ID 290747.1]

Advertisements

About Pang

Oracle DBA working in database, fusion middleware and identity management and cloud.
This entry was posted in Oracle Fusion Middleware. Bookmark the permalink.

5 Responses to AS10gR2 — librwu.so: libXm.so.2: cannot open shared object file: No such file or directory

  1. Nimesh says:

    Thanks a lot. I spent many hrs to find out right url. You saved our go live date for demo. Appreciate.

  2. Sohail Jafferi says:

    thank you very much , this doc help me to resolve my issue
    bundles of thanks for you

    • Gowtham says:

      Afte install the rpm i am still getting the same error while compile PLLs “/oracle/oraapp/OraHome_4/bin/frmcmp: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory”.

  3. Khronnos says:

    Yay! you just made my day i’ll check if everything goes as smoth as it should be =)

  4. Manish Nashikkar says:

    Thanks for quick workaround…Worked it like charm !!!

    [root@ebs2 ~]# rpm -qa | grep openmotif21

    [root@ebs2 ~]# rpm -qa | grep openmotif
    openmotif22-2.2.3-18
    openmotif-2.3.1-2.el5
    openmotif22-2.2.3-18
    openmotif-2.3.1-2.el5

    libXm.so.2 => not found

    As you said, RHEL5 require exact rpm openmotif21 😦
    then I installed above rpm on all application node and form got opened without any issue…

    Thanks,
    Manish Nashikkar

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s