Tuesday, October 22, 2013

R12: Unable To Relink MSC Executables on On OEL5/RHEL5

R12: Unable To Relink MSC Executables on On OEL5/RHEL5 (Doc ID 781553.1)

In this Document
Symptoms
Cause
Solution
References
APPLIES TO:

Oracle Advanced Supply Chain Planning - Version 12.0 to 12.1.3 [Release 12 to 12.1]
Linux x86-64
Linux x86
*** Checked for relevance on 06-May-2011 ***


SYMPTOMS

When attempting to relinking any MSC executables via adadmin or manually the following error is visible in the log file :

Relinking module 'MSCNSP' in product msc ...

make -f /u01/oracle/EMMA/apps/apps_st/appl/admin/EMMA/out/link_msc_26274.mk
/u01/oracle/EMMA/apps/apps_st/appl/msc/12.0.0/bin/MSCNSP

Starting link of msc executable 'MSCNSP' on Tue Feb 10 10:16:53 CET 2009
g++ -L/u01/oracle/EMMA/apps/tech_st/10.1.2/lib
-L/u01/oracle/EMMA/apps/tech_st/10.1.2/lib/stubs -lclntsh -o
/u01/oracle/EMMA/apps/apps_st/appl/msc/12.0.0/bin/MSCNSP
/u01/oracle/EMMA/apps/apps_st/appl/msc/12.0.0/lib/mscnsp.o \
/u01/oracle/EMMA/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a
/u01/oracle/EMMA/apps/apps_st/appl/mso/12.0.0/lib/libmso.a
/u01/oracle/EMMA/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libschedule.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolveriim.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcertext.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolver.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcert.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libilocplex.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a \

/u01/oracle/EMMA/apps/apps_st/appl/fnd/12.0.0/lib/libfnd.a -lsql10 -lclntsh
`cat /u01/oracle/EMMA/apps/tech_st/10.1.2/lib/ldflags` -lnsslb10
-lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
/u01/oracle/EMMA/apps/tech_st/10.1.2/lib/ldflags` -lnsslb10 -lncrypt10
-lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10
-lcommon10 -lgeneric10 -lmm -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10
-lcore10 -lnls10 `cat /u01/oracle/EMMA/apps/tech_st/10.1.2/lib/ldflags`
-lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
/u01/oracle/EMMA/apps/tech_st/10.1.2/lib/ldflags` -lnsslb10 -lncrypt10
-lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10
-lcommon10 -lgeneric10 -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10
-lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lcore10
-lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat
/u01/oracle/EMMA/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm -lpthread
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/stubs/libstdc++.so
/u01/oracle/EMMA/apps/apps_st/appl/sht/12.0.0/lib/stubs/libgcc_s.so.1
`.gnu.linkonce.t._ZN17SCOProfileOptionsC1Ev' referenced in section `.rodata'
of /u01/oracle/EMMA/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomdl.o):
defined in discarded section `.gnu.linkonce.t._ZN17SCOProfileOptionsC1Ev' of
/u01/oracle/EMMA/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomdl.o)
collect2: ld returned 1 exit status
make: *** [/u01/oracle/EMMA/apps/apps_st/appl/msc/12.0.0/bin/MSCNSP] Error 1
Done with link of msc executable 'MSCNSP' on Tue Feb 10 10:16:55 CET 2009

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


CAUSE

The issue is caused because an incorrect package binutils-2.17.50.0.6-6.el5 is installed on OEL5/RHEL 5 32-bit. This can also occur on the 64-bit version.

The requirements for Linux (32-bit) are similar and documented in Note 402310.1 Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (32-bit) under the Required Packages for Oracle Enterprise Linux 5* and Red Hat Enterprise Linux 5* (base and Advanced Platform):

The following i386 packages are not part of the OS distribution media and must be downloaded separately (from http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux for both OEL 5 and RHEL 5) and installed manually:

openmotif21-2.1.30-11.EL5.i3861
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
binutils-2.17.50.0.6-6.0.1.i3862

SOLUTION

-- To implement the solution, please execute the following steps:

Download the binutils-2.17.50.0.6-6.0.1.x86_642 package if using OEL 5.2 (64-bit) or binutils-2.17.50.0.6-6.0.1.i386 if using OEL 5.2 (32-bit) from: http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/
Install binutils-2.17.50.0.6-6.0.1.el5.x86_64.rpm or binutils-2.17.50.0.6-6.0.1.el5.i386.rpm using the following command:

rpm -U binutils-2.17.50.0.6-6.0.1.el5.x86_64.rpm
or
rpm -U binutils-2.17.50.0.6-6.0.1.el5.i386.rpm

If a higher version of the binutils has already been installed, downgrade using the following command:

rpm -Uvh --oldpackage binutils-2.17.50.0.6-6.0.1.el5.i386.rpm
or
rpm -Uvh --oldpackage binutils-2.17.50.0.6-6.0.1.el5.x86_64.rpm
You can use a command like the following to check the version:

rpm -qa |grep binutils
Retest the issue.
Migrate the solution as appropriate to other environments.
See Important notes below if you still encounter a failure - especially Note 1273390.1
IMPORTANT NOTES:

Failure in OEL 6, REL6 or SLES11 can also be expected as these platforms are not currently supported for VCP applications - Refer to (Note 761566.1)
Unable to relink MSC/MSO executables on OEL/RHEL5 and also RedHat 4.9 (Note 1273390.1) - this shows patches for adrelinknew.sh OR manual updates to resolve relinking error
ADRELINK of MSC and MSO executables fail (Document 1492763.1) - this is specific to OS setups and should be reviewed if this note and 1273390.1 do not resolve the failure.
12: MSC Modules Error Out When Relinking with Adrelink (Note 1345788.1) - this is same as Note 1273390.1

No comments:

Post a Comment