Error in invoking target ‘mkldflags ntcontab.o nnfgt.o’ of makefile Oracle installation failed



The Eucharistic Miracles of the World

Error Description:
Oracle installation failed with following error message
Error in invoking target ‘mkldflags ntcontab.o nnfgt.o’ of makefile ‘/oracle/app/oracle/product/ 11.2.0/dbhome_1/network/lib/’ See ‘oracle/app/oraInventory/logs
/installAction2012-02-15_02_13_02AM.log’ for details
Solution Description:
Oracle files will get linked as part of the installation. Mainly the error is because of the linking issues like permission issues, c++ library files missing etc. You have to check the make.log file for more details. The file will be located in the $ORACLE_HOME//install/make.log.
Eg: '/u01/app/oracle/oracle/product/10.2.0/db_1/install/make.log'
When I checked the make.log I could see some permission denied error message.

         /data02/app/oracle/product/11.2.0/dbhome_1/bin/gennttab > ntcontab.c ;\

         gcc -m64  -c ntcontab.c ;\

         rm -f /data02/app/oracle/product/11.2.0/dbhome_1/lib/ntcontab.o ;\

         mv ntcontab.o /data02/app/oracle/product/11.2.0/dbhome_1/lib/ ;\

         /usr/bin/ar rv /data02/app/oracle/product/11.2.0/dbhome_1/lib/libn11.a /data02/app/oracle/product/11.2.0/dbhome_1/lib/ntcontab.o ; fi)

cc1: error: /usr/local/include: Permission denied

mv: cannot stat `ntcontab.o': No such file or directory

/usr/bin/ar: /data02/app/oracle/product/11.2.0/dbhome_1/lib/ntcontab.o: No such file or directory

make: *** [ntcontab.o] Error 1

When I checked in more details I could see the include directory is not installed in the server.
# ls -ld /usr/local/include/
ls: /usr/local/include/: No such file or directory

filesystem-2.4.0-3.0.1.el5 is the package which will install the include directory in the Linux file system. Also, You should install below mentioned RPMs before going ahead with the Oracle installation on the linux box.

rpm -Uvh elfutils-libelf-0.*
rpm -Uvh glibc-2.*
rpm -Uvh glibc-common-2.*
rpm -Uvh libgcc-4.*
rpm -Uvh libstdc++-4.*
rpm -Uvh make-3.*
rpm -Uvh elfutils-libelf-devel-0.*
rpm -Uvh glibc-devel-2.*
rpm -Uvh gcc-4.*
rpm -Uvh gcc-c++-4.*
rpm -Uvh libstdc++-devel-4.*
rpm -Uvh unixODBC-2.*


Website Stats


Post a Comment


Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2) Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer