Installation of 11.2.0.3 : ntcontab.c:7:23: error: sys/types.h: No such file or directory. The package :glibc-headers already installed. Steps to identify and resolve the error. (Doc ID 1404742.1)

Last updated on MAY 02, 2014

Applies to:

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

Symptoms

While installing the Oracle 11gR2 binaries on Linux x86-64, you may receive the following error:


INFO: (if [ "compile" = "compile" ] ; then \
/opt/oracle/product/11.2.0.3_BR/bin/gennttab > ntcontab.c ;\
gcc -m64 -fPIC -c ntcontab.c ;\
rm -f /opt/oracle/product/11.2.0.3_BR/lib/ntcontab.o ;\
mv ntcontab.o /opt/oracle/product/11.2.0.3_BR/lib/ ;\
/usr/bin/ar rv /opt/oracle/product/11.2.0.3_BR/lib/libn11.a /opt/oracle/product/11.2.0.3_BR/lib/ntcontab.o ; fi)

INFO: ntcontab.c:7:23: error: sys/types.h: No such file or directory
INFO: mv: cannot stat `ntcontab.o': No such file or directory

INFO: /usr/bin/ar: /opt/oracle/product/11.2.0.3_BR/lib/ntcontab.o: No such file or directory
INFO: make: *** [ntcontab.o] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/opt/oracle/product/11.2.0.3_BR/network/lib/ins_net_client.mk'. See '/opt/oracle/oraInventory/logs/installActions2012-01-05_01-27-04PM.log' for details.
Exception Severity: 1
INFO: Adding ExitStatus STOP_INSTALL to the exit status set
INFO: Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -4
INFO: Shutdown Oracle Database 11g Release 2 Installer

Changes

Installation of Oracle 11gR2 binaries on Linux x86_64 platform.

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