nagios-plugins-1.4.0-alpha3 problem on Solaris 8 box

Luc I. Suryo luc at suryo.com
Thu Dec 23 23:30:10 CET 2004


> 
> I donwloaded  nagios-plugins-1.4.0-alpha3 and tried to install it. The following are the errors I got when I "make" it.
> 
> -------------
> Undefined                       first referenced
>  symbol                             in file
> gethostbyname                       check_icmp.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> h_errno                             check_icmp.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> gethostbyaddr                       check_icmp.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> inet_addr                           check_icmp.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> inet_ntoa                           check_icmp.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> ld: fatal: Symbol referencing errors. No output written to check_icmp
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `check_icmp'
> Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3/plugins
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/home/nagios/nagios-plugins-1.4.0-alpha3
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> -------------
> 
it's missing the network libs..
	-lnsl -lsocket

-ls


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list