[Nagiosplug-help] /lib/libnsl.so.1 issue w/ check_icmp.o

Michael Shoemaker shoemake at ispalliance.net
Thu Mar 24 10:31:51 CET 2005


Here is the info I think is needed. If more is needed, PLEASE ask and I will 
provide. Is there an easy way to fix this?


if /usr/local/bin/gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" 
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl  -g -O2 -MT check_icmp.o 
-MD -MP -MF ".deps/check_icmp.Tpo" -c -o check_icmp.o check_icmp.c; \
then mv -f ".deps/check_icmp.Tpo" ".deps/check_icmp.Po"; else rm -f 
".deps/check_icmp.Tpo"; exit 1; fi
/usr/local/bin/gcc  -g -O2  -L. -o check_icmp  check_icmp.o  ../intl/libintl.a 
-liconv -lgen -lsocket
Undefined                       first referenced
 symbol                             in file
gethostbyname                       check_icmp.o  (symbol belongs to implicit 
dependency /lib/libnsl.so.1)
inet_addr                           check_icmp.o  (symbol belongs to implicit 
dependency /lib/libnsl.so.1)
inet_ntoa                           check_icmp.o  (symbol belongs to implicit 
dependency /lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to check_icmp
collect2: ld returned 1 exit status
make[2]: *** [check_icmp] Error 1
make[2]: Leaving directory `/home/root/nagios-plugins-1.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/nagios-plugins-1.4'
make: *** [all] Error 2




More information about the Help mailing list