[squid-users] compiling Squid with LDAP

From: <accounts@dont-contact.us>
Date: Tue, 08 Apr 2008 09:42:18 +0400

Please help me with subj on OpenBSD. It falls with error

include -I/usr/ports/www/squid/w-squid-2.6.STABLE18p0/squid-2.6.STABLE18/include -O2 -pipe -D_REENTRANT -MT squid_ldap_group.o -MD -MP -MF ".deps/squid_ldap_group.Tpo" -c -o squid_ldap_group.o /usr/ports/www/squid/w-squid-2.6.STABLE18p0/squid-2.6.STABLE18/helpers/external_acl/ldap_group/squid_ldap_group.c; then mv -f ".deps/squid_ldap_group.Tpo" ".deps/squid_ldap_group.Po"; else rm -f ".deps/squid_ldap_group.Tpo"; exit 1; fi
cc -O2 -pipe -D_REENTRANT -g -o squid_ldap_group squid_ldap_group.o -L../../../lib -lmiscutil -lldap -lpthread -lm
/usr/bin/ld: cannot find -lldap
collect2: ld returned 1 exit status
*** Error code 1

CONFIGURE_ARGS+=--datadir="${PREFIX}/share/squid" \
                --enable-auth="basic digest" \
                --enable-arp-acl \
                --enable-basic-auth-helpers="LDAP" \
                --enable-digest-auth-helpers="password" \
                --enable-external-acl-helpers="ldap_group" \
                --enable-removal-policies="lru heap" \
                --enable-ssl \
                --enable-storeio="aufs ufs diskd null" \
                --with-pthreads \
                --localstatedir="${SQUIDDIR}" \
                --enable-follow-x-forwarded-for

Thanks
Ilya
Received on Mon Apr 07 2008 - 23:42:02 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT