Oswaldo Gomes wrote:

Henrik,

I tried:

[/tmp/squid-2.5.STABLE3] # configure --enable-basic-auth-helpers="LDAP"
[/tmp/squid-2.5.STABLE3] # make


And get the following errors:



/libufs.a auth/libbasic.a -lcrypt -lmiscutil -lm Making all in icons Making all in errors Making all in doc Making all in helpers Making all in basic_auth Making all in 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=gcc /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 gcc -g -O2 -Wall -g -o squid_ldap_auth squid_ldap_auth.o -L../../../lib -lmiscutil -lldap -llber -lm /usr/libexec/elf/ld: cannot find -lldap *** Error code 1

Stop in /tmp/squid-2.5.STABLE3/helpers/basic_auth/LDAP.
*** Error code 1

Stop in /tmp/squid-2.5.STABLE3/helpers/basic_auth.
*** Error code 1

Stop in /tmp/squid-2.5.STABLE3/helpers.
*** Error code 1



Hello,

Try typing this before you run the configure: (first remove the 'old' config.cache)

 export CFLAGS="-I/opt/openssl/include/ -I/opt/openldap/include"
 export CPPFLAGS="-I/opt/openssl/include/ -I/opt/openldap/include"
 export LDFLAGS="-L/opt/openssl/lib/ -L/opt/openldap/lib"

Where '/opt/openssl' is your dirctory to the LDAP librarbies/headers.


rgrds, Bart




Reply via email to