In this Document
Oracle Database - Enterprise Edition -
Version 11.2.0.1.0 and later
Linux x86-64
***Checked for relevance on 16-Dec-2013***
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.
The issue is due
to 32-bit missing RPMs on 64-bit Linux Server.
It is due to
missing mandatory 32-bit RPMs :
libstdc++-devel-3.4.3-22.1
glibc-devel-2.5-58
libaio-devel-0.3.106
Perform the
Install/Clone again after installing the above 32-bit RPMs.
|
ReplyDeletethat worked for me.