RES: [squid-users] Problems compiling LDAP helpers

From: Oswaldo Gomes <Oswaldo@dont-contact.us>
Date: Mon, 16 Jun 2003 10:55:06 -0300

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

[]´s

 Oswaldo

-----Mensagem original-----
De: Henrik Nordstrom [mailto:hno@squid-cache.org]
Enviada em: sábado, 14 de junho de 2003 10:17
Para: Oswaldo Gomes; 'squid-users@squid-cache.org'
Assunto: Re: [squid-users] Problems compiling LDAP helpers

On Friday 13 June 2003 22.20, Oswaldo Gomes wrote:
> Hi,
>
> I have some problems compiling the LDAP helpers. I tried at Linux
> Red Hat 9, and FreeBSD 4.8. When I try to compile the LDAP
> basic_auth, the following error occurs:
>
>
> # pwd
> /tmp/squid-2.5.STABLE3-20030612/helpers/basic_auth/LDAP
>
> # make
> /usr/bin/ld: cannot find -lmiscutil

You first need to run make from the top level Squid directory to build
support functions used by the helpers.

Regards
Henrik
Received on Mon Jun 16 2003 - 07:54:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:23 MST