Relink Fails with Error: "config.o: not an ELF object" or "config.o: file not recognized" (Doc ID 1598771.1)

Last updated on DECEMBER 27, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Generic UNIX

Symptoms

Applying patch or relink fails with following errors:

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

 or

/opt/oracle/product/12.1.0.2/db_1/rdbms/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=/u01/app/oracle/product/10.2.0/db_1"....'/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/config.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/oracle] Error 1

 

  

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