Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Tuesday, March 24, 2009

FNDCPSPN fails to relink

We got this error after applying TXK Rollup S:

Starting link of fnd executable 'FNDCPSPN' on Tue Mar 24 23:14:10 EDT 2009
ld -dy $ORACLE_HOME/lib/SC4.2/crti.o
$ORACLE_HOME/lib/SC4.2/crt1.o
$ORACLE_HOME/lib/SC4.2/crtn.o -s -o
$FND_TOP/bin/FNDCPSPN
$FND_TOP/lib/afcpspn.o \
$FND_TOP/lib/libfnd.a -lsql -lclntsh
$ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o
$ORACLE_HOME/lib/naect.o $ORACLE_HOME/lib/naedhs.o `cat
$ORACLE_HOME/lib/naldflgs` -lnetv2 -lnttcp -lnetwork -lncr -lnetv2
-lnttcp -lnetwork -lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4
-lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp
-lnetwork -lclient -lvsn -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4
-lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lvsn -lcommon -lgeneric -lnlsrtl3
-lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 `cat
$ORACLE_HOME/lib/sysliblist` -R
/opt/SUNWcluster/lib:$ORACLE_HOME/lib -Y
P,$ORACLE_HOME/lib::$ORACLE_HOME/network/jre11/lib/sparc/n
ative_threads:$CZ_TOP/bin:/usr/dt/lib:/usr/openwin/lib
:/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib -Qy -lc -laio -lm
$ORACLE_HOME/rdbms/lib/defopt.o
$ORACLE_HOME/rdbms/lib/ssbbded.o
Undefined first referenced
symbol in file
FDCPSPN
$FND_TOP/lib/afcpspn.o
ld: fatal: Symbol referencing errors. No output written to
$FND_TOP/bin/FNDCPSPN
*** Error code 1
make: Fatal error: Command failed for target
`$FND_TOP/bin/FNDCPSPN'
Done with link of fnd executable 'FNDCPSPN' on Tue Mar 24 23:14:10 EDT 2009

Relink of module "FNDCPSPN" failed.
See error messages above (also recorded in log file) for possible
reasons for the failure. Also, please check that the Unix userid
running adrelink has read, write, and execute permissions
on the directory $FND_TOP/bin,
and that there is sufficient space remaining on the disk partition
containing your Oracle Applications installation.

Metalink Note: 417535.1 has the solution:

Cause

$FND_TOP/lib/libfnd.a does not include fdcpspn.lc


It sounds like a problem with the environment being used, not a problem with the patch. Patch 4905678 does not bring in afcpspn.lc, but somehow the file already exists on the system, and fdcpspn.lc does not exist in $FND_TOP/lib/libfnd.a. Any patch that tries to relink with afcpspn.lc and fdcpspn.lc on this system will fail.

A similare issue is described in INTERNAL, not visible to customers, Bug 4115814 (92) CERT 4030688 CERTIFICATION OF AFMDMSG.LCT FAILED ON RELINKING FNDCPSPN
You have to check $FND_TOP/lib/libfnd.a does not include the fdcpspn.o

Solution

To implement the solution, please execute the following steps:

1. Please take a backup of $FND_TOP/lib/ directory

2. adrelink.sh force=y ranlib=y "fnd FNDCPSPN"
and check if the adrelink is OK (exiting with status 0)

3. If failure at step 2:

4. cd $FND_TOP/lob
5. ar rvl libfnd.a fdcpspn.o
6. adrelink.sh force=y ranlib=y "fnd FNDCPSPN"

No comments: