Error "ld.so.1: rwconverter: fatal: libXm.so.4: open failed: No such file or directory"
Error "ld.so.1: rwconverter: fatal: libXm.so.4: open failed: No such file or directory"
Titleimage
Posted by Patrick Hamou on 2016:04:19 21:32:32
Applies to
Oracle Applications Manager - Version 12.1.1 to 12.1.3 [Release 12.1]
Oracle Applications DBA - Version 12.1.1 to 12.1.3 [Release 12.1]
Oracle Solaris on SPARC (64-bit)
Symptoms
When attempting to "Generate Report Files" using adadmin utility or relinking 10.1.2 Oracle Home using "adlnktools.sh",
the following error occurs.
ld.so.1: rwconverter: fatal: libXm.so.4: open failed: No such file or directory
Cause
motif package is not installed. This package provides the mising library "/usr/dt/lib/libXm.so" for Solaris 11 platform. The same can be checked by running below command.
Connect to root :
# pkg info -r motif
Name: library/motif
Summary: Motif toolkit
Description: Motif 2.1 libraries, headers, xmbind and bindings
Category: System/X11
State: Not installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.0.0.0.0.0
Packaging Date: Tue Sep DD HH:MM:SS YYYY
Size: 12.94 MB
FMRI: pkg://solaris/library/motif@0.5.11,5.11-0.175.0.0.0.0.0:20110927T192002Z
Solution
1. Install motif package following below steps :
# pkg info -r motif
This will confirm whether motif is installed or not.
# pkg install motif
This will install the motif package.
2. Now the file "/usr/dt/lib/libXm.so" should present.
3. Relink the Oracle Homes as per below steps :
Connect to appsTier : putty session
$ cd $IAS_ORACLE_HOME/appsutil/clone
$ sh adlnkweboh.sh
$ cd $ORACLE_HOME/appsutil/clone
$ sh adlnktools.sh
Both should be successful.
4. Run adadmin utility to "Generate report files" to retest the issue.
5. Migrate the solution as appropriate to other environments.
Posted by Patrick Hamou on 2016:04:19 21:32:32