[Nagiosplug-devel] [ nagiosplug-Bugs-2972610 ] check_ldap doesnot compile on OpenSolaris
SourceForge.net
noreply at sourceforge.net
Thu Mar 18 15:19:35 CET 2010
Bugs item #2972610, was opened at 2010-03-18 15:19
Message generated for change (Tracker Item Submitted) made by wernerfrerichs
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2972610&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: v1.4.14
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Werner Frerichs (wernerfrerichs)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ldap doesnot compile on OpenSolaris
Initial Comment:
root at nagmon:~/nagios-plugins-1.4.14# uname -a
SunOS nagmon 5.11 snv_111b i86pc i386 i86pc Solaris
root at nagmon:~/nagios-plugins-1.4.14# ./configure --prefix=/usr/nagios --enable-perl-modules
root at nagmon:~/nagios-plugins-1.4.14# make
...
root at nagmon:~/nagios-plugins-1.4.14# cd plugins
root at nagmon:~/nagios-plugins-1.4.14/plugins# make check_ldap
gcc -DLOCALEDIR=\"/usr/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"1.4.14"' -g -O2 -MT check_ldap.o -MD -MP -MF .deps/check_ldap.Tpo -c -o check_ldap.o check_ldap.c
mv -f .deps/check_ldap.Tpo .deps/check_ldap.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.14"' -g -O2 -L. -o check_ldap check_ldap.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv -lpthread -ldl
gcc "-DNP_VERSION=\"1.4.14\"" -g -O2 -o check_ldap check_ldap.o netutils.o utils.o -L/root/nagios-plugins-1.4.14/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv -lpthread -ldl
Undefined first referenced
symbol in file
ldap_bind_s check_ldap.o
ldap_perror check_ldap.o
ldap_unbind check_ldap.o
ldap_open check_ldap.o
ldap_search_s check_ldap.o
ld: fatal: symbol referencing errors. No output written to check_ldap
collect2: ld returned 1 exit status
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2972610&group_id=29880
More information about the Devel
mailing list