linking failing for libresilv.so, after updating kernel and gcc

General support questions
Post Reply
nupurpriya
Posts: 86
Joined: 2016/10/14 12:07:18

linking failing for libresilv.so, after updating kernel and gcc

Post by nupurpriya » 2018/07/24 11:32:26

I updated the kernel and gcc rpm's but build is getting failed with the below mentioned error.

========================================================
Rebuilding "../ilsd" on host "bgl-citg43" using abe(1, pid=57762) at 07:54:25
======== Finished "../ilsd" on host "bgl-citg43" ======== (elapsed: 11.220428 s) at 07:54:34
g++ -m32 -o ../ilsd EncrUtil.o CILSDATA_Protocol.o main.o -L.. -L/view/mulmehdi-19_julyKernel-raw/vob/ccm_tpl/release/lib -L/view/mulmehdi-19_julyKernel-cct-ccm/vob/ccm/Common/Lib/linux/i386 -L/view/mulmehdi-19_julyKernel-cct-vos/vob/vos/Common/Lib -lilsd -lilsdb -luuid -lCryptoUtil -lSdl -lSdiSdlLogInterleaved -lAlarmInterface -lstlport -lACE -lodbc++-mt -lifdmr -lthcli -lifgls -lifglx -luuidpp -ldbl -ldbnotify -lxerces-c -lpreferences -lcrypto -liproduct -lssl -lresolv -lipprefsMod -lSDLAlarmMonitor -lEventLogAlarmMonitor -lCDatabaseConfigData -lSysLogAlarmMonitor -lAlertManagerAlarmMonitor -lRisGENAccess -lRISDB -lILSIDS -lpthread -lrt -lz
/auto/cmtools/i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/../lib/gcc/i686-redhat-linux/4.8.5/../../../libresolv.so: undefined reference to `__resolv_context_get@GLIBC_PRIVATE'
/auto/cmtools/i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/../lib/gcc/i686-redhat-linux/4.8.5/../../../libresolv.so: undefined reference to `__h_errno@GLIBC_PRIVATE'
/auto/cmtools/i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/../lib/gcc/i686-redhat-linux/4.8.5/../../../libresolv.so: undefined reference to `__resolv_context_get_preinit@GLIBC_PRIVATE'
/auto/cmtools/i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/../lib/gcc/i686-redhat-linux/4.8.5/../../../libresolv.so: undefined reference to `__resolv_context_get_override@GLIBC_PRIVATE'
/auto/cmtools/i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/../lib/gcc/i686-redhat-linux/4.8.5/../../../libresolv.so: undefined reference to `__resolv_context_put@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
*** Error code 1 (ignored)
========================================================


Also please let me know how to rectify the below-mentioned error

========================================================
>>ls -lrth libresolv.so
lrwxrwxrwx. 1 ccmbuild eng 24 Jul 13 08:05 libresolv.so -> ../../lib/libresolv.so.2
libresolve.so is pointing to /lib/libresolv.so.2
========================================================

Post Reply