My Oracle Support Banner

Undefined first referenced symbol ld: fatal: symbol referencing errors. (Doc ID 1539887.1)

Last updated on MAY 21, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
All Platforms

Symptoms

While applying a patch or patchset, in this example <Patch 13551402>, linking fails with the following messages:

ld: fatal: symbol referencing errors. No output written to <$ORACLE_HOME>/rdbms/lib/oracle
*** Error code 1
make: Fatal error: Command failed for target `<$ORACLE_HOME>/rdbms/lib/oracle'
Undefined      first referenced
symbol           in file
kglpgSetSid   <$ORACLE_HOME>/lib/libserver11.a(ksu.o)
ld: fatal: symbol referencing errors. No output written to <$ORACLE_HOME>/rdbms/lib/oracle
*** Error code 1
make: Fatal error: Command failed for target `<$ORACLE_HOME>/rdbms/lib/oracle'

 For 19c database home ,notice below relink errors

OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 OPATCH_SESSION=apply"....'Undefined first referenced
symbol in file
krsy_rwc_dispatch /u01/app/oracle/product/19.0.0/dbhome_1/lib//libserver19.a(krsh.o)
ld: fatal: symbol referencing errors
make: Fatal error: Command failed for target '/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/lib/oracle'
'
Stack Description: java.lang.RuntimeException: Undefined first referenced
symbol in file
krsy_rwc_dispatch /u01/app/oracle/product/19.0.0/dbhome_1/lib//libserver19.a(krsh.o)
ld: fatal: symbol referencing errors
make: Fatal error: Command failed for target '/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/lib/oracle'
at oracle.opatch.MakeAction.apply(MakeAction.java:538)
at oracle.opatch.OPatchSession.runMake(OPatchSession.java:757)

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.