[squid-users] Squid 2.5 S12 + LDAP

From: <Werner.Rost@dont-contact.us>
Date: Wed, 25 Jan 2006 14:56:39 +0100

There are problems configuring LDAP and Squid 2.5 Stable 12.

Environment:
------------
Hardware: COMPAQ Professional Workstation XP1000
OS: Tru64 V5.1A (OSF1 GOAW25 V5.1 1885 alpha)

configure step runs without any problems:

./configure --enable-auth="ntlm,basic" \
            --enable-external-acl-helpers="winbind_group,ldap_group" \
            --enable-basic-auth-helpers="winbind" \
            --enable-ntlm-auth-helpers="winbind" \
            --prefix=/usr/local/squid

Now "make all" leads to following error:

Making all in ldap_group
source='squid_ldap_group.c' object='squid_ldap_group.o' libtool=no depfile='.de
ps/squid_ldap_group.Po' tmpdepfile='.deps/squid_ldap_group.TPo' depmode=gcc3 /b
in/sh ../../../cfgaux/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../../../include
   -g -O2 -Wall -c `test -f squid_ldap_group.c || echo './'`squid_ldap_group.c
squid_ldap_group.c:40:18: lber.h: No such file or directory
squid_ldap_group.c:41:18: ldap.h: No such file or directory

Therefore I copied missing files (and some others)
from /usr/internet/openldap/include
to /usr/local/squid-2.5.STABLE12/helpers/external_acl/ldap_group

After that compilation of squid_ldap_group.c worked fine. But I get another error message:

/usr/bin/ld:
Can't locate file for: -lldap
collect2: ld returned 1 exit status
*** Exit 1

What goes wrong?

Werner Rost
Received on Wed Jan 25 2006 - 06:56:46 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST