[Nagiosplug-help] /lib/libnsl.so.1 issue w/ check_icmp.o
Voon, Ton
Ton.Voon at egg.com
Tue Mar 29 00:28:23 CEST 2005
Michael,
One big bug in the 1.4 release is the lack of the libnsl link in Solaris
for check_icmp. Please try the 1.4-branch snapshot at
http://nagiosplug.sf.net/snapshot. This is reported to have fixed this
bug.
Ton
-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of
Michael Shoemaker
Sent: 28 March 2005 15:26
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] /lib/libnsl.so.1 issue w/ check_icmp.o
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
-------------------------------------------------------
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
-----------------------------------------
Egg is a trading name of the Egg group of companies which includes: Egg plc
(reg no 2448340), Egg Financial Products ltd (reg no 3319027), Egg
International ltd (reg no 4059266), Egg Financial Intermediation ltd (reg
no 382828), Egg Investments ltd (reg no 3403963) and Egg Banking plc (reg
no 2999842. Egg Investments Ltd, Egg Banking plc and Egg Financial
Intermediation Ltd are authorised and regulated by the Financial Services
Authority (FSA) and are entered in the FSA register under numbers 190518,
205621 and 309551 respectively. These members of the Egg group are
registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA. This e-mail is confidential and for
use by the addressee only. If you are not the intended recipient of this
e-mail and have received it in error, please return the message to the
sender by replying to it and then delete it from your mailbox. Internet
e-mails are not necessarily secure. The Egg group of companies do not
accept responsibility for changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by the Egg group of companies in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.
This communication does not create or modify any contract.
More information about the Help
mailing list