[squid-users] compiling LDAP authentcator with DS5.2 SDK\

From: Brett Clifford <Brett.Clifford@dont-contact.us>
Date: Mon, 24 Nov 2003 14:15:36 +1100 (EST)

Hi All,

We are trying to compile the basic LDAP authenticator for squid against
the SunOne Directory Server 5.2 SDK but seem to have a problem with an
undefined symbol

(Sun WorkShop 6 update 2 C 5.3 2001/05/15)
compile errors for squid LDAP authenticator follow
===================================================
source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
depfile='.deps/squid_ldap_auth.Po' tmpdepfile='.deps/squid_ldap_auth.TPo'
\
depmode=none /bin/sh ../../../cfgaux/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/include
-I/usr/ds/v5.2/plugins/slapd/slapi/include -I../../../include -g -c
`test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
"squid_ldap_auth.c", line 441: undefined symbol: LDAP_OPT_SUCCESS
cc: acomp failed for squid_ldap_auth.c
*** Error code 2
make: Fatal error: Command failed for target `squid_ldap_auth.o'

I checked the ldap.h files and could not find LDAP_OPT_SUCCESS as
stated in the compile output.

Has anyone got some squid_ldap authenticator code which will compile with
the DS 5.2 SDK or any help with compiling the current squid ldap
authenticator against DS 5.2 SDK

Any help would be greatly appreciated

Thanks

Brett Clifford
TI Resources
University of Tasmania
Received on Sun Nov 23 2003 - 20:15:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:33 MST