[Nagiosplug-devel] [ nagiosplug-Bugs-1498923 ] nagios-plugins-1.4.3 check_ldap build error on Solaris 9

SourceForge.net noreply at sourceforge.net
Thu Jun 1 08:16:01 CEST 2006


Bugs item #1498923, was opened at 2006-06-01 11:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1498923&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Sergei Haramundanis (volsh)
Assigned to: Nobody/Anonymous (nobody)
Summary: nagios-plugins-1.4.3 check_ldap build error on Solaris 9

Initial Comment:
I get this build error during compilation of check_ldap
on Solaris 9:
==============================
if gcc -DLOCALEDIR=\"/usr/local/nagios2/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl
-I/usr/include/ldap  -I/usr/local/ssl/include  
-I/usr/local/ssl/include -Wall -g -O2 -MT check_ldap.o
-MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o
check_ldap.c; \
then mv -f ".deps/check_ldap.Tpo"
".deps/check_ldap.Po"; else rm -f
".deps/check_ldap.Tpo"; exit 1; fi
check_ldap.c: In function `main':
check_ldap.c:145: warning: too many arguments for format
check_ldap.c:161: warning: implicit declaration of
function `ldap_start_tls_s'
check_ldap.c:84: warning: unused variable `tls'
/bin/bash ../libtool --mode=link --tag=CC gcc -Wall -g
-O2   -L. -R/usr/local/ssl/lib -o check_ldap 
check_ldap.o netutils.o utils.o ../lib/libnagiosplug.a
../lib/libcoreutils.a  -lnsl -lsocket -lresolv -lldap
-llber ../intl/libintl.a -liconv -lgen -lsocket  -lssl
-lcrypto
gcc -Wall -g -O2 -o .libs/check_ldap check_ldap.o
netutils.o utils.o 
-L/usr/local/nagios2/nagios-plugins-1.4.3/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl
-lresolv -lldap /opt/sfw/lib/.libs/liblber.so
../intl/libintl.a /usr/local/lib/libiconv.so
-L/usr/local/lib -L/usr/lib -L/usr/openwin/lib
-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib
-lgen -lsocket -lssl -lcrypto -R/opt/sfw/lib
-R/usr/local/lib -R/usr/local/ssl/lib
gcc: /opt/sfw/lib/.libs/liblber.so: No such file or
directory
*** Error code 1
make: Fatal error: Command failed for target `check_ldap'
Current working directory
/usr/local/nagios2/nagios-plugins-1.4.3/plugins
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive'
Current working directory
/usr/local/nagios2/nagios-plugins-1.4.3/plugins
*** Error code 1
make: Fatal error: Command failed for target
`all-recursive'
Current working directory
/usr/local/nagios2/nagios-plugins-1.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'
==============================
It looks like the liblber.so specification is off as it
currently exists in /opt/sfw/lib on the host I am
building this on. For some reason ".libs/" is getting
in the path for this library. I looked for a possible
mishap in the makefiles but could not find any.

Please make this a priority as I need to upgrade to
nagios-plugins-1.4.3 from netsaint-plugins-1.2.9-4
a.s.a.p. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1498923&group_id=29880




More information about the Devel mailing list