Hi,
I've got OpenBSD-3.2, SQUID-2.5.STABLE2, OPENLDAP-2.0.27
I want to use LDAP to authenticate users and keep acl.
But can't compile squid_ldap_auth like this.
>>make
source='squid_ldap_group.c' object='squid_ldap_group.o' libtool=no depfile='.deps/squid_ldap_group.Po' tmpdepfile='.deps/squid_ldap_group.TPo' depmode=gcc /bin/sh ../../../cfgaux/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -Wall -c `test -f squid_ldap_group.c || echo './'`squid_ldap_group.c
gcc -g -Wall -g -o squid_ldap_group squid_ldap_group.o -lldap -llber -lm -lresolv
ld: -lldap: no match
collect2: ld returned 1 exit status
*** Error code 1
I copy headers and libraries of OpenLDAP into include and lib directories accordingly.
In compile directory like this.
/tmp/squid - compile directory
/tmp/squid/include - copy OpenLDAP headers directory
/tmp/squid/lib - copy OpenLDAP libraries
Please help.
Tanks.
Received on Wed Apr 23 2003 - 05:57:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:14 MST