Undefined Reference to `kbrsenabled' During Post Patching Steps of Grid Infrastructure Patch Set Update or Bundle Patch

(Doc ID 2340230.1)

Last updated on DECEMBER 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Applying Grid Infrastructure (GI) October 2017 PSU Patch 26635815: GRID INFRASTRUCTURE PATCH SET UPDATE 12.1.0.2.171017 or DATABASE PROACTIVE BUNDLE PATCH 12.1.0.2.171017 to Grid home, post patching steps fails while relinking (Error occurs for both apply and rollback situations).

opatch apply log inside <grid home>/cfgtoollogs: 

[Oct 24, 2017 3:11:59 PM] [WARNING] OUI-67200:Make failed to invoke "/usr/bin/make -f ins_rdbms.mk patchset_opt_all ioracle ORACLE_HOME=/u01/app/12.1.0/grid_1"....'/u01/app/12.1.0/grid_1/lib//libserver12.a(kspt.o):(.rodata+0x2aa48): undefined reference to 'kbrsenable_dep'

/u01/app/12.1.0/grid_1/lib//libserver12.a(kbrs.o): In function 'kbrsnfy':
kbrs.c:(.text+0x6f): undefined reference to `kbrsenstrt_chk'
/u01/app/12.1.0/grid_1/lib//libserver12.a(kbrsi.o): In function `kbrsi_ba_enabled':
kbrsi.c:(text.unlikely+0xe1e1): undefined reference to 'kbrsenabled'
collect2: ld returned 1 exit status
make: *** [/u01/app/12.1.0/grid_1/rdbms/lib/oracle] Error 1

 

[Nov 3, 2017 2:42:32 PM] [WARNING] OUI-67124:Re-link fails on target "ioracle".
Re-link fails on target "patchset_opt_all ioracle".
[Nov 3, 2017 2:42:32 PM] [INFO] Do you want to proceed? [y|n]
[Nov 3, 2017 2:42:35 PM] [INFO] N (auto-answered by -silent)
[Nov 3, 2017 2:42:35 PM] [INFO] User Responded with: N
[Nov 3, 2017 2:42:35 PM] [INFO] Restoring "/u01/app/12.1.0/grid_1" to the state prior to running NApply...

 

opatch rollback log inside <grid home>/cfgtoollogs: 

[Oct 24, 2017 3:13:31 PM] [INFO] 2) OUI-67200:Make failed to invoke "/usr/bin/make -f ins_rdbms.mk patchset_opt_all ioracle ORACLE_HOME=/u01/app/12.1.0/grid_1"....'/u01/app/12.1.0/grid_1/lib//libserver12.a(kspt.o):(.rodata+0x2aa48): undefined reference to 'kbrsenable_dep'
/u01/app/12.1.0/grid_1/lib//libserver12.a(kbrs.o): In function 'kbrsnfy':
kbrs.c:(.text+0x6f): undefined reference to 'kbrsenstrt_chk'
/u01/app/12.1.0/grid_1/lib//libserver12.a(kbrsi.o): In function 'kbrsi_ba_enabled':
kbrsi.c:(text.unlikely+0xe1e1): undefined reference to 'kbrsenabled'
collect2: ld returned 1 exit status
make: *** [/u01/app/12.1.0/grid_1/rdbms/lib/oracle] Error 1
'
[Oct 24, 2017 3:13:31 PM] [INFO] 3) OUI-67124:Re-link fails on target "ioracle".
Re-link fails on target "patchset_opt_all ioracle".
[Oct 24, 2017 3:13:31 PM] [INFO] 4) OUI-67124:
NRollback was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/u01/app/12.1.0/grid_1/.patch_storage/NRollback/2017-10-24_15-00-38PM"
[Oct 24, 2017 3:13:31 PM] [INFO] --------------------------------------------------------------------------------
[Oct 24, 2017 3:13:31 PM] [INFO] Finishing UtilSession at Tue Oct 24 15:13:31 BST 2017
[Oct 24, 2017 3:13:31 PM] [INFO] Log file location: /u01/app/12.1.0/grid_1/cfgtoollogs/opatchauto/core/opatch/opatch2017-10-24_15-00-09PM_1.log

 

Tried copying /u01/app/12.1.0/grid_1/lib//libserver12.a file from other suitable sources but it does not help.

Changes

Applying or rolling back GI October PSU Patch 26635815: GRID INFRASTRUCTURE PATCH SET UPDATE 12.1.0.2.171017

or 

Database Proactive Bundle Patch October Patch 26635880: DATABASE PROACTIVE BUNDLE PATCH 12.1.0.2.171017

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