Opatch reports relink issue :collect2: ld returned 1 exit status,make: *** [$Oracle_Home/lib/oracle] Error 1 (Doc ID 1643572.1)

Last updated on AUGUST 11, 2017

Applies to:

Oracle Database - Enterprise Edition
Information in this document applies to any platform.

Symptoms

When applying a PSU to Oracle Home,the relink phase can generate the following warnings:

opatch log file,


Verifying the update...
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/local/app/oracle/product/11.2.0.3/ISCMPU20"....'/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdCheckDiskstring':
kfd.c:(.text+0x242): undefined reference to `kgfmIsOdaTestPriv'
kfd.c:(.text+0x2e9): undefined reference to `kgfmDumpCtx'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdApplianceDiskNum':
kfd.c:(text.unlikely+0xc1aa): undefined reference to `kgfmDumpCtx'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdJoin':
kfd.c:(text.unlikely+0x3b539): undefined reference to `kgfmDumpCtx'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdDiscoverShallow':
kfd.c:(text.unlikely+0x408cf): undefined reference to `kgfmReloadConfig'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfdp.o): In function `kfdp_getTgtCard':
kfdp.c:(text.unlikely+0x10880): undefined reference to `kfgpGetTemplate'
collect2: ld returned 1 exit status
make: *** [/local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/oracle] Error 1
'
The following make actions have failed :

Re-link fails on target "ioracle".

Do you want to proceed? [y|n]
y
User Responded with: Y
Composite patch 16902043 successfully applied.
OPatch Session completed with warnings.
Log file location: /local/app/oracle/product/11.2.0.3/ISCMPU20/cfgtoollogs/opatch/opatch2014-04-02_09-42-34AM_1.log

 

 When relink the oracle home manually,the error will occur with following message.


/local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib
oracle@psie0p069[ISCMPU22]> /usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/local/app/oracle/product/11.2.0.3/ISCMPU20
chmod 755 /local/app/oracle/product/11.2.0.3/ISCMPU20/bin

 - Linking Oracle
rm -f /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/oracle
gcc  -o /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/oracle -m64 -L/local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/ -L/local/app/oracle/product/11.2.0.3/ISCMPU20/lib/ -L/local/app/oracle/product/11.2.0.3/ISCMPU20/lib/stubs/   -Wl,-E /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/opimai.o /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/ssoraed.o /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/ttcsoi.o  -Wl,--whole-archive -lperfsrv11 -Wl,--no-whole-archive /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/nautab.o /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/naeet.o /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/naect.o /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/naedhs.o /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/config.o  -lserver11 -lodm11 -lcell11 -lnnet11 -lskgxp11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11  -lvsn11 -lcommon11 -lgeneric11 -lknlopt `if /usr/bin/ar tv /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap11" ; fi` -lslax11 -lpls11  -lrt -lplp11 -lserver11 -lclient11  -lvsn11 -lcommon11 -lgeneric11 `if [ -f /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/libavserver11.a ] ; then echo "-lavserver11" ; else echo "-lavstub11"; fi` `if [ -f /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/libavclient11.a ] ; then echo "-lavclient11" ; fi` -lknlopt -lslax11 -lpls11  -lrt -lplp11 -ljavavm11 -lserver11  -lwwg  `cat /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lztkg11 `cat /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `if /usr/bin/ar tv /local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo11"; fi` -L/local/app/oracle/product/11.2.0.3/ISCMPU20/ctx/lib/ -lctxc11 -lctx11 -lzx11 -lgx11 -lctx11 -lzx11 -lgx11 -lordimt11 -lclsra11 -ldbcfg11 -lhasgen11 -lskgxn2 -lnnz11 -lzt11 -lxml11 -locr11 -locrb11 -locrutl11 -lhasgen11 -lskgxn2 -lnnz11 -lzt11 -lxml11  -loraz -llzopro -lorabz2 -lipp_z -lipp_bz2 -lippdcemerged -lippsemerged -lippdcmerged  -lippsmerged -lippcore  -lippcpemerged -lippcpmerged  -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lsnls11 -lunls11  -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lasmclnt11 -lcommon11 -lcore11 -laio    `cat /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/sysliblist` -Wl,-rpath,/local/app/oracle/product/11.2.0.3/ISCMPU20/lib -lm    `cat /local/app/oracle/product/11.2.0.3/ISCMPU20/lib/sysliblist` -ldl -lm   -L/local/app/oracle/product/11.2.0.3/ISCMPU20/lib
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdCheckDiskstring':
kfd.c:(.text+0x242): undefined reference to `kgfmIsOdaTestPriv'
kfd.c:(.text+0x2e9): undefined reference to `kgfmDumpCtx'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdApplianceDiskNum':
kfd.c:(text.unlikely+0xc1aa): undefined reference to `kgfmDumpCtx'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdJoin':
kfd.c:(text.unlikely+0x3b539): undefined reference to `kgfmDumpCtx'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfd.o): In function `kfdDiscoverShallow':
kfd.c:(text.unlikely+0x408cf): undefined reference to `kgfmReloadConfig'
/local/app/oracle/product/11.2.0.3/ISCMPU20/lib//libserver11.a(kfdp.o): In function `kfdp_getTgtCard':
kfdp.c:(text.unlikely+0x10880): undefined reference to `kfgpGetTemplate'
collect2: ld returned 1 exit status
make: *** [/local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib/oracle] Error 1

/local/app/oracle/product/11.2.0.3/ISCMPU20/rdbms/lib

  

Cause

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