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

Michael Shoemaker shoemake at ispalliance.net
Mon Mar 28 06:42:32 CEST 2005


sorry to be such a newb on this, but which of the files at the indicated 
location do I need? This is my first solaris nagios install (done tons of 
linux installs). 

Thanks for the help

Michael

On Thursday 24 March 2005 06:46 pm, Andreas Ericsson wrote:
> Michael Shoemaker wrote:
> > 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?
>
> Yes. Sorry for the singularly unenlightening response. ;)
>
> Download the latest at http://oss.op5.se/nagios and just run make. It
> builds nicely on all solaris boxen I've seen so far (by linking
> libsocket and libnsl).
>
> > 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
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Nagiosplug-help mailing list
> > Nagiosplug-help at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> >
> > ::: Please include plugins version (-v) and OS when reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list