AS10gR2 10.1.2.3 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 10.1.2.3 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/ins_forms.mk’.
 
–workaround
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 10.1.2.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/env_forms.mk
 
LDFLAGS=-m32 -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)/stubs
LINK=$(PURECMDS) gcc $(LDFLAGS) $(COMPSOBJS) -m32
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 ins_forms.mk install
3) Retry installation
 
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.

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