My Oracle Support Banner

Install/Clone 32-bit Oracle Client binaries On Linux x86_64 Fails With Error In Invoking Target 'Mkldflags ntcontab.o nnfgt.o' Of Makefile ins_net_client.mk (Doc ID 1473421.1)

Last updated on JULY 21, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata 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
Linux x86-64

Symptoms

Install/Clone 32-bit 11g R2 client on Linux RHEL 5 (64-bit) server fails with relinking errors.

 

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

INFO: In file included from /usr/include/features.h:352,
  from /usr/include/sys/types.h:27,
  from ntcontab.c:7:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

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

INFO: /usr/bin/ar: /bb/bin/oracle/product/client/11.2.0.3/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 '/bb/bin/oracle/product/client/11.2.0.3/network/lib/ins_net_client.mk'. See '/bb/bin/oracle/oraInventory/logs/cloneActions2012-06-18_02-26-13PM.log' for details.
Exception Severity: 1

Subsequently it may fail with below errors also:

INFO: /bb/bin/oracle/product/client/11.2.0.3/bin/genclntsh

INFO: /usr/bin/ld: crti.o: No such file: No such file or directory
collect2:
INFO: ld returned 1 exit status

INFO: genclntsh: Failed to link libclntsh.so.11.1

INFO: make: *** [client_sharedlib] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/bb/bin/oracle/product/client/11.2.0.3/rdbms/lib/ins_rdbms.mk'. See '/bb/bin/oracle/oraInventory/logs/cloneActions2012-06-18_02-26-13PM.log' for details.
Exception Severity: 1
Error in invoking target 'client_sharedlib' of makefile '/bb/bin/oracle/product/client/11.2.0.3/rdbms/lib/ins_rdbms.mk'. See '/bb/bin/oracle/oraInventory/logs/cloneActions2012-06-18_02-26-13PM.log' for details.

 


INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory

INFO: collect2: ld returned 1 exit status

INFO: /bin/chmod: cannot access `/bb/bin/oracle/product/client/11.2.0.3/precomp/lib/proc'
INFO: : No such file or directory

INFO: make[1]: *** [/bb/bin/oracle/product/client/11.2.0.3/precomp/lib/proc] Error 1

INFO: make[1]: Leaving directory `/bb/bin/oracle/product/client/11.2.0.3/precomp/lib'

INFO: make: *** [proc] Error 2

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'links proc gen_pcscfg procob' of makefile '/bb/bin/oracle/product/client/11.2.0.3/precomp/lib/ins_precomp.mk'. See '/bb/bin/oracle/oraInventory/logs/cloneActions2012-06-18_02-26-13PM.log' for details.
Exception Severity: 1

 The above relinking errors can occur during installation of Oracle Enterprise Manager 12c 12.1.0.5 on RHEL / OEL 6.

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