Search squid archive

Squid 2.5 S12 + LDAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux