[squid-users] how can I compile LDAP module?

From: Julie Xu <[email protected]>
Date: Thu, 03 Jan 2002 11:31:34 +1100

I have download the squid-2.4.STABLE3 source and compile it with
enable-auth-modules="LDAP" and the following is the error:
Making all in auth_modules...
gcc -c squid_ldap_auth.c
squid_ldap_auth.c:50: lber.h: No such file or directory
squid_ldap_auth.c:51: ldap_cdefs.h: No such file or directory
squid_ldap_auth.c:52: ldap.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `squid_ldap_auth.o'
Current working directory /opt/sources/squid-2.4.STABLE3/auth_modules/LDAP
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /opt/sources/squid-2.4.STABLE3/auth_modules
*** Error code 1
make: Fatal error: Command failed for target `all'

I read the auth_modules/LDAP/README and it said "In order to use
squid_ldap_auth, you will also need to install the OpenLDAP libraries (ldap
lber) from http://www.openldap.org." So, I have download the openldap
software, and link the
h files to /usr/include. Then it still faild.

How can I compile LDAP module?

Any comments will be appreciated

Thanks in advance

Julie Xu

Unix/Network Administrator
Information Techonology Directorate
University of Westen Sydney, Campbelltown
Campbelltown NSW 2560

Phone: 61 02 4620-3098
Mobile: 0416 179 868
Email: j.xu@uws.edu.au
Received on Wed Jan 02 2002 - 17:29:01 MST

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