Wednesday, August 24, 2016

Adcfgclone.pl failed to relink executables with "/usr/bin/ld: crt1.o: No such file: No such file or directory" error in R12.1.3 on OEL 6.4

ISSUE:

While running adcfgclone.pl for refresh new instance or server, getting below error.

 - Linking
rm -f oklist
/u03/dev/apps/tech_st/10.1.2/bin/ogcc -o oklist -L/u03/dev/apps/tech_st/10.1.2/network/lib/ -L/u03/dev/apps/tech_st/10.1.2/lib/ -L/u03/dev/apps/tech_st/10.1.2/lib/stubs/  /u03/dev/apps/tech_st/10.1.2/network/lib/snauk5pt.o /u03/dev/apps/tech_st/10.1.2/network/lib/s0nauk5l.o -lclntsh  `cat /u03/dev/apps/tech_st/10.1.2/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u03/dev/apps/tech_st/10.1.2/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10  -lvsn10 -lcommon10 -lgeneric10 -lmm  -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /u03/dev/apps/tech_st/10.1.2/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u03/dev/apps/tech_st/10.1.2/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10  -lvsn10 -lcommon10 -lgeneric10    -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10  -lvsn10 -lcommon10 -lgeneric10  -lcore10 -lxml10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10   `cat /u03/dev/apps/tech_st/10.1.2/lib/sysliblist` -Wl,-rpath,/u03/dev/apps/tech_st/10.1.2/lib -lm    `cat /u03/dev/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm   -L/u03/dev/apps/tech_st/10.1.2/lib -L/u03/dev/apps/tech_st/10.1.2/lib/stubs/
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make: *** [oklist] Error 1


CAUSE:

glibc-devel (32 bit) RPM missing on this system.

SOLUTION:

glibc-devel was missing 
After installing required packages like glibc-devel customer is now able to manually compile sqlplus.

[root@dev Softwares]# ls -ltr glib*
-rwxr-xr-x 1 4294967294 4294967294 1011696 Jul  1 20:51 glibc-devel-2.12-1.192.el6.i686.rpm
[root@dev Softwares]# rpm -ivh glibc-devel-2.12-1.192.el6.i686.rpm
warning: glibc-devel-2.12-1.192.el6.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
Preparing...                ########################################### [100%]
   1:glibc-devel            ########################################### [100%]

Now run adcfgclone.pl again it should work.

No comments:

Post a Comment