[Nagiosplug-help] Install of nagios-plugins-1.4.15 fails on Solaris 10
Lylex Ryan
lylexryan at yahoo.com
Fri Dec 31 02:18:49 CET 2010
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
ld: fatal: File processing errors. No output written to check_ldap
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `check_ldap'
Current working directory /root/nagios-plugins-1.4.15/plugins
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='gl tap lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/nagios-plugins-1.4.15
*** Error code 1
make: Fatal error: Command failed for target `all'
--------------
This is a 8/07 release of Solaris, so it comes with SUNWcry and SUNWcryr. I tried using the "--with-ssl=/usr/sfw --with-ssl-lib=/usr/sfw/lib" switches on the configure command, but that didn't seem to help.
Any ideas or advice is appreciated....Lyle
More information about the Help
mailing list