Re: [squid-users] LDAP Compile Problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 11 May 2005 21:25:19 +0200 (CEST)

On Wed, 11 May 2005, Ric Lonsdale wrote:

> I'm trying to compile squid-2.5.STABLE7 on a server with RedHat ES3,
> with the following options:-
>
> ./configure --prefix=/usr/local/squid --enable-removal-policies=heap,lru
> --enable-basic-auth-helpers=LDAP
> --enable-external-acl-helpers=ldap_group --enable-auth=basic,ntlm
>
> However, when I run "make all" I receive the following errors (apologies
> if there is too much detail) :-
>
> make[3]: Entering directory
> `/usr/local/squid/src/squid-2.5.STABLE7/helpers/basic_auth/LDAP'
> 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=gcc3 /bin/sh ../../../cfgaux/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
> -O2 -Wall -D_REENTRANT -c `test -f squid_ldap_auth.c || echo
> './'`squid_ldap_auth.c
> squid_ldap_auth.c:84:18: lber.h: No such file or directory
> squid_ldap_auth.c:85:18: ldap.h: No such file or directory

You need to install the LDAP development package

   yum install openldap-devel

Regards
Henrik
Received on Wed May 11 2005 - 13:25:23 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT