AD Relink Errors - stddef.h: No such file or directory ; libnnz11.so: could not read symbols: Invalid operation ; collect2: error: ld returned 1 exit status make: *** [rwrun] Error 1
(Doc ID 2397522.1)
Last updated on OCTOBER 09, 2019
Applies to:
Oracle Applications DBA - Version 12.1.1 to 12.1.1 [Release 12.1]Linux x86-64
Symptoms
On : 12.1.1 version, AD UTILITIES
We are trying to relink all binaries the following error occurs
Error:
======
ISSUE #1
=======
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
Error while running adlnkoh.sh.
return code = .5.6.15.20
Starting: "make -f /XXX/oracle/XXX/db/tech_st/11.2.0/rdbms/lib/ins_net_client.mk "
Completed linking target mkldflags on Tue Apr 3 10:49:33 IST 2018...
/XXX/oracle/XXX/db/tech_st/11.2.0/network/lib
rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then \
/d00/oracle/PRODERP/db/tech_st/11.2.0/bin/gennttab > ntcontab.c ;\
gcc -m64 -fPIC -c ntcontab.c ;\
rm -f /d00/oracle/XXX/db/tech_st/11.2.0/lib/ntcontab.o ;\
mv ntcontab.o /XX/oracle/XXX/db/tech_st/11.2.0/lib/ ;\
/usr/bin/ar rv /XXX/oracle/XXX/db/tech_st/11.2.0/lib/libn11.a /XXX/oracle/XXX/db/tech_st/11.2.0/lib/ntcontab.o ; fi)
In file included from ntcontab.c:7:0:
/usr/include/sys/types.h:146:20: fatal error: stddef.h: No such file or directory
#include <stddef.h>
^
compilation terminated.
mv: cannot stat ‘ntcontab.o’: No such file or directory
ISSUE #2
=======
db/tech_st/11.2.0/sysman/lib/:/XXX/oracle/XXX/db/tech_st/11.2.0/jdk/jre/lib/amd64/server:/XXX/oracle/XXX/db/tech_st/11.2.0/jdk/jre/lib/amd64 -Wl,--allow-shlib-undefined 'cat /XXX/oracle/XXX/db/tech_st/11.2.0/lib/sysliblist' -ldl -lm
/usr/bin/ld: warning: -z lazyload ignored.
/usr/bin/ld: warning: -z nolazyload ignored.
/usr/bin/ld: /XXX/oracle/XXX/db/tech_st/11.2.0/sysman/lib//libnmectl.a(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /XXX/oracle/XXX/db/tech_st/11.2.0/lib/libnnz11.so so try adding it to the linker command line
/XXX/oracle/XXX/db/tech_st/11.2.0/lib/libnnz11.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [/XX/oracle/XXX/db/tech_st/11.2.0/sysman/lib/emdctl] Error 1
Failed linking target emdctl on Thu May 10 13:30:19 IST 2018...
/d00/oracle/XXX/db/tech_st/11.2.0/sysman/lib
ins_emagent.mk:113: warning: overriding recipe for target 'nmosudo'
ins_emagent.mk:52: warning: ignoring old recipe for target 'nmosudo'
ISSUE #3
=======
/lib/libXi.so.6: undefined reference to '__printf_chk@GLIBC_2.3.4'
/lib/libXtst.so.6: undefined reference to '__snprintf_chk@GLIBC_2.3.4'
/lib/libXtst.so.6: undefined reference to '_XEatDataWords'
/lib/libXtst.so.6: undefined reference to '_XGetRequest'
/lib/libXtst.so.6: undefined reference to '__stack_chk_fail@GLIBC_2.4'
/lib/libXi.so.6: undefined reference to 'XESetWireToEventCookie'
/lib/libXtst.so.6: undefined reference to '__fprintf_chk@GLIBC_2.3.4'
/lib/libXi.so.6: undefined reference to 'XESetCopyEventCookie'
collect2: error: ld returned 1 exit status
make: *** [rwrun] Error 1
Failed linking target proxy_install runm_install server_install cgi_install cli_install conv_install qv_install on Thu May 10 13:39:57 IST 2018...
/a01/oracle/XXX/apps/tech_st/10.1.2/forms/lib
rm -f frmweb
Changes
Instance was working fine on RHEL 6.7 Not working on RHEL 7.4
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 |
Changes |
Cause |
Solution |