[Nagiosplug-help] Install of nagios-plugins-1.4.15 fails on Solaris 10
Lylex Ryan
lylexryan at yahoo.com
Wed Jan 5 00:52:56 CET 2011
--- On Fri, 12/31/10, Andreas Ericsson <ae at op5.se> wrote:
> From: Andreas Ericsson <ae at op5.se>
> Subject: Re: [Nagiosplug-help] Install of nagios-plugins-1.4.15 fails on Solaris 10
> To: "Nagios Plugin Help List" <nagiosplug-help at lists.sourceforge.net>
> Cc: "Lylex Ryan" <lylexryan at yahoo.com>
> Date: Friday, December 31, 2010, 3:10 AM
> On 12/31/2010 02:18 AM, Lylex Ryan
> wrote:
> > Hello all:
> >
> > On a Sparc Solaris 10 machine, when trying to install
> nagios-plugins-1.4.15, configure runs fine, but make dies
> with:
> > ----------------
> > /bin/bash ../libtool --tag=CC --mode=link
> gcc -DNP_VERSION='"1.4.15"' -g -O2 -L.
> -L/usr/local/ssl/lib -o check_ldap check_ldap.o netutils.o
> utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl
> -lsocket -lresolv -lldap -llber -lintl -lpthread -ldl
> > libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o
> check_ldap check_ldap.o netutils.o utils.o
> -L/root/nagios-plugins-1.4.15/plugins -L/usr/local/ssl/lib
> ../lib/libnagiosplug.a ../gl/libgnu.a
> /usr/local/lib/libldap.so -L/usr/local/pgsql/lib
> -L/usr/local/lib -L/usr/openwin/lib -L/usr/lib
> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib
> /usr/local/lib/libsasl2.so -L/usr/openwinlib -lssl -lcrypto
> /usr/local/lib/liblber.so -lresolv -lgen -lnsl -lnet
> -lsocket /usr/local/lib/libintl.so
> /usr/local/lib/libiconv.so -lsec -lc -lpthread -ldl
> -R/usr/local/lib -R/usr/local/lib
> > ld: fatal: library -lnet: not found
>
> It claims it can't find libnet.so, which is odd. All
> solaris machines that
> are network connected has that, and it should be in the
> library lookup path
> unless you've done something seriously weird with your
> system.
>
> --
> Andreas Ericsson
> andreas.ericsson at op5.se
> OP5 AB
>
> www.op5.se
> Tel: +46 8-230225
> Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty,
> drugs and
> terror, I think we should give some serious thought to
> declaring war
> on peace.
>
Thanks for the response on this one, Andreas.
Based on your clues, I did a find for libnet.so, chose the 32bit library by adding /usr/j2se/jre/lib/sparc to my LD_LIBRARY_PATH, did another make, and things seem to work.
...Lyle
More information about the Help
mailing list