AS10gR2 installation: /usr/bin/ld: skipping incompatible $ORACLE_HOME/lib//lib***.a when searching for -lip***

It is common when we see following errors for Oracle AS10gR2 on RHEL 5 64bit.
— message in installation logs
/usr/bin/ld: skipping incompatible $ORACLE_HOME/lib//libiplsn.a when searching for -liplsn
/usr/bin/ld: skipping incompatible $ORACLE_HOME/lib/libiplsn.a when searching for -liplsn
/usr/bin/ld: cannot find -liplsn
collect2: ld returned 1 exit status
make: *** [frmweb] Error 1
End output from spawned process.
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ‘frmweb_install frmcmp_install frmcmpb_install’ of makefile ‘$ORACLE_HOME/forms/lib/’.
we can follow suggestions from 2 Oracle metalink notes:
Handling Application Server Relinking Errors on Redhat and Suse 64-bit Linux [ID 377359.1]
OUI Fails Linking Forms Libraries During Patch Set 3 Install / Upgrade on OAS 10.1.2 [ID 564700.1]
However, above documents are incomplete, to make it fully functional, we gonna to do following steps:
1) Don’t quit current installation
2) Edit $ORACLE_HOME/forms/lib/
SOSD_FORMS_LDSHARED=/usr/bin/gcc -m32 -o $@ -z text -shared
SOSD_FORMS_LDSHARED_SO=/usr/bin/gcc -m32 -o $@ -z muldefs -shared -$(LDPATHFLAG)$(LIBHOME)
cd $ORACLE_HOME/forms/lib
make -f install
3) Retry installation

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.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s