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

本文记录了Oracle EBS环境下模块FEMCCE在重链接过程中遇到的错误,具体表现为ld返回1状态退出。通过修改adrelinknew.sh文件中的CPP_LDFLAGS设置,增加-Wl,--noinhibit-exec选项解决了该问题。

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博客tolywang的博客,原文链接:EBS: collect2: ld returned 1 exit status, Relink of module "FEMCCE" failed. ,如需转载请自行联系原博主。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值