[squid-users] ldap and lber

From: Tomas Palfi <tpalfi@dont-contact.us>
Date: Tue, 13 Sep 2005 17:00:20 +0100

To all,

What am I doing wrong? I am using FreeBSD 5.4-RELEASE, I have installed
openldap-2.2.26, and this is what I am getting when trying to compile
the LDAP helper as in squid-2.5.STABLE10

I would be expecting this

gcc -g -O2 -Wall -g -o squid_ldap_auth squid_ldap_auth.o -L../../../lib
-lmiscutil -lldap -llber -lm

instead I am getting this

mentor# make
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 -c `test -f squid_ldap_auth.c ||
echo './'`squid_ldap_auth.c
squid_ldap_auth.c:88:18: lber.h: No such file or directory
squid_ldap_auth.c:89:18: ldap.h: No such file or directory
squid_ldap_auth.c:102: error: `LDAP_SCOPE_SUBTREE' undeclared here (not
in a function)
squid_ldap_auth.c:106: error: `LDAP_DEREF_NEVER' undeclared here (not in
a function)

this is ending with

*** Error code 1

thanks

tomas

--
tp
PRIVACY & CONFIDENTIALITY
This e-mail is private and confidential.  If you have, or suspect you have received this message in error please notify the sender as soon as possible and remove from your system.  You may not copy, distribute or take any action in reliance on it. Thank you for your co-operation.
Please note that whilst best efforts are made, neither the company nor the sender accepts any responsibility for viruses and it is your responsibility to scan the email and attachments (if any).
This e-mail has been automatically scanned for viruses by MessageLabs.
Received on Tue Sep 13 2005 - 10:00:32 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT