ADRELINK of MSC and MSO executables fail (Doc ID 1492763.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Service Parts Planning - Version 12.1.3 to 12.2.3 [Release 12.1 to 12.2]
Oracle Advanced Supply Chain Planning - Version 12.1 to 12.2.3 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Goal

We found that adrelink failed when trying to relink these executables and investigated and found the following:

1. Run relink from adadmin or manually using

Relink MSONEW and all MSC executables using

# As applmgr user, go to $MSC_TOP/bin and run the following:
adrelink.sh force=y ranlib=y "msc MSCNEW"
adrelink.sh force=y ranlib=y "msc MSCNSP"
adrelink.sh force=y ranlib=y "msc MSCMON"
adrelink.sh force=y ranlib=y "msc MSCCPP"
adrelink.sh force=y ranlib=y "msc MSCPCL"
adrelink.sh force=y ranlib=y "msc MSCPDW"
adrelink.sh force=y ranlib=y "msc MSCPRG"
adrelink.sh force=y ranlib=y "msc MSCSDW"
adrelink.sh force=y ranlib=y "msc MSCSLD"
adrelink.sh force=y ranlib=y "msc MSCXGCAL"
adrelink.sh force=y ranlib=y "msc MSCNSPNM"

$MSO_TOP/bin
adrelink.sh force=y ranlib=y "mso MSONEW"

Get a failure like

Relinking module 'MSCNSP' in product msc ...
 
make -f /apps/applmgr/r12/apps/apps_st/appl/admin/out/link_msc_19359.mk /apps/applmgr/r12/apps/apps_st/appl/msc/12.0.0/bin/MSCNSP
 
Starting  link of msc executable 'MSCNSP' on Tue Sep 18 16:03:22 EDT 2012
make: Warning: File `/apps/applmgr/r12/apps/apps_st/appl/admin/out/link_msc_19359.mk' has modification time 4.5e+02 s in the future
g++ -m32   -L/apps/applmgr/r12/apps/tech_st/10.1.2/lib -L/apps/applmgr/r12/apps/tech_st/10.1.2/lib/stubs -lclntsh  -o /apps/applmgr/r12/apps/apps_st/appl/msc/12.0.0/bin/MSCNSP /apps/applmgr/r12/apps/apps_st/appl/msc/12.0.0/lib/mscnsp.o \
        /apps/applmgr/r12/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a /apps/applmgr/r12/apps/apps_st/appl/msc/12.0.0/lib/libmsc.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libschedule.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolveriim.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcertext.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libsolver.a  /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libconcert.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libilocplex.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/ilog/6.2/libcplex.a  \
                               /apps/applmgr/r12/apps/apps_st/appl/fnd/12.0.0/lib/libfnd.a -lsql10 -lclntsh  `cat /apps/applmgr/r12/apps/tech_st/10.1.2/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /apps/applmgr/r12/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 /apps/applmgr/r12/apps/tech_st/10.1.2/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /apps/applmgr/r12/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 /apps/applmgr/r12/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm  -lpthread  /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/stubs/libstdc++.so /apps/applmgr/r12/apps/apps_st/appl/sht/12.0.0/lib/stubs/libgcc_s.so.1  
`.gnu.linkonce.t._ZN17SCOProfileOptionsC1Ev' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomdl.o): defined in discarded section `.gnu.linkonce.t._ZN17SCOProfileOptionsC1Ev' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomdl.o)
`.gnu.linkonce.t._ZN7OmValue3setEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomitemorgbkt.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3setEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomitemorgbkt.o)
`.gnu.linkonce.t._ZN7OmValue3setEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomprodresuse.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3setEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomprodresuse.o)
`.gnu.linkonce.t._ZN7OmValue3addEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomprodresuse.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3addEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomprodresuse.o)
`.gnu.linkonce.t._ZN7OmValue3addEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomresourcebkt.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3addEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomresourcebkt.o)
`.gnu.linkonce.t._ZN7OmValue3addEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomsupplierbkt.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3addEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomsupplierbkt.o)
`.gnu.linkonce.t._ZN7OmValue3setEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomdemandsatflow.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3setEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomdemandsatflow.o)
`.gnu.linkonce.t._ZN7OmValue3addEd' referenced in section `.rodata' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomresconsume.o): defined in discarded section `.gnu.linkonce.t._ZN7OmValue3addEd' of /apps/applmgr/r12/apps/apps_st/appl/mso/12.0.0/lib/libmso.a(msopomresconsume.o)
collect2: ld returned 1 exit status
make: *** [/apps/applmgr/r12/apps/apps_st/appl/msc/12.0.0/bin/MSCNSP] Error 1
Done with link of msc executable 'MSCNSP' on Tue Sep 18 16:03:27 EDT 2012
 
Relink of module "MSCNSP" failed.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms