My Oracle Support Banner

Relink/opatch apply Fails with Error: "config.o: not an ELF object" or "config.o: file not recognized" or "config.o: No such file or directory" (Doc ID 1598771.1)

Last updated on MARCH 09, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 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 Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Generic UNIX

Symptoms

Applying patch or relink fails with following errors:

ld: fatal: file <ORACLE_HOME>/rdbms/lib/config.o: not an ELF object
ld: fatal: file processing errors. No output written to <ORACLE_HOME>/rdbms/lib/oracle
make: Fatal error: Command failed for target `<ORACLE_HOME>/rdbms/lib/oracle'

 or

<ORACLE_HOME>/lib/config.o: file not recognized: File truncated
collect2: ld returned 1 exit status
mv: cannot stat `libsrvm12.so': No such file or directory
make[1]: [isrvm] Error 1 (ignored)

 or

OUI-67200:Make failed to invoke "/usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=<ORACLE_HOME>"....'<ORACLE_HOME>/rdbms/lib/config.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** <ORACLE_HOME>/rdbms/lib/oracle] Error 1

 or

Patching component oracle.rdbms, 19.0.0.0.0...
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=<ORACLE_HOME> OPATCH_SESSION=apply"....'config.c: Assembler messages:
config.c:9: Error: no such instruction: `char *ss_dba_grp[]={SS_DBA_GRP,SS_OPER_GRP}'
/usr/bin/ar: <ORACLE_HOME>/rdbms/lib/config.o: No such file or directory
make: *** [<ORACLE_HOME>/rdbms/lib/config.o] Error 1
'
The following make actions have failed :
Re-link fails on target "ioracle".

  

Changes

 

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
Changes
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.