EBS: collect2: ld returned 1 exit status, Relink of module "FEMCCE" failed.

tolywang發表於2014-01-11

adrelink is exiting with status 1
End of adrelink session
Date/time is  Thu Jan 9 20:31:34 CST 2014
**********************************************************
Original copy is /data02/rlpdpre/apps/apps_st/appl/admin/rlpdpre/log/adrelink.lsv
New copy is /data02/rlpdpre/apps/apps_st/appl/admin/rlpdpre/log/adrelink.log

An error occurred while relinking application programs.
Continue as if it were successful [No] :


檢視 /data02/rlpdpre/apps/apps_st/appl/admin/rlpdpre/log/adrelink.log檔案內容如下:
...
of /data02/rlpdpre/apps/apps_st/appl/fem/12.0.0/lib/libfem.a(FCMathExecOp.o)
collect2: ld returned 1 exit status
make: *** [/data02/rlpdpre/apps/apps_st/appl/fem/12.0.0/bin/FEMCCE] Error 1
Done with link of fem executable 'FEMCCE' on Thu Aug 15 18:24:00 CST 2013

Relink of module "FEMCCE" 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 /data02/rlpdpre/apps/apps_st/appl/fem/12.0.0/bin,
and that there is sufficient space remaining on the disk partition containing your Oracle Applications installation.

Done with link of product 'fem' on Thu Aug 15 18:24:00 CST 2013


解決方法: 

"On R12.1.3, The Patch 9239090 Failed During The Relink of FEMCCE module, what Is the Potential solution? [ID 1303269.1]":

vi $AD_TOP/bin/adrelinknew.sh
replace:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
with:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1069442/,如需轉載,請註明出處,否則將追究法律責任。

相關文章