天天看点

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

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-1069442/