Relink fails with : gcc: error trying to exec 'cc1': execvp: No such file or directory (Doc ID 1567351.1)

Last updated on APRIL 30, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Linux x86-64

Symptoms

11gR2 installation fails with the below relink error:

"gcc: error trying to exec 'cc1': execvp: No such file or directory
 mv: impossible to obtain state "ntcontab.o": No such file or directory
 /usr/bin/ar: / u01/app/11.2.0/product/db_1/lib/ntcontab.o: No such file or directory
 make: ** [ntcontab.o] Error 1
 /usr/bin/make-f ins_net_client.mk mkldflags ntcontab.o nnfgt.o ORACLE_HOME = / u01/app/11.2.0/product/db_1/rm-f ntcontab. *
 (if ["compile" = "compile"], then \
     / u01/app/11.2.0/product/db_1/bin/gennttab> ntcontab.c; \
     gcc-m64-fPIC-c ntcontab.c; \
     rm-f / u01/app/11.2.0/product/db_1/lib/ntcontab.o; \
     ntcontab.o mv / u01/app/11.2.0/product/db_1/lib /; \
     /usr/bin/ar /u01/app/11.2.0/product/db_1/lib/libn11.a / u01/app/11.2.0/product/db_1/lib/ntcontab.o; fi) "

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