[squid-users] Re: Ldap

From: ROUTIER Gilles <[email protected]>
Date: Tue, 05 Nov 2002 15:16:54 +0100

> > When i wan't to install Ldap_Auth in Squid2.4stable6, i have this
> > message :
> >
> > usr/bin/ld: cannot find -lldap
> > collect2: ld returned 1 exit status
> > make: *** [squid_ldap_auth] Erreur 1
> >
> > Anyone can help me.
> what kind of OS?

Redhat 7.2

> you need to install ldap-devel.
> if you have it, you need to set up path's of libraries.

Ok i have download Ldap_Devel and install the RPm Package.

But i have a another message :

squid_ldap_auth.o: In function `squid_ldap_errno':
squid_ldap_auth.o(.text+0x1a): undefined reference to `ldap_get_option'
squid_ldap_auth.o: In function `squid_ldap_set_aliasderef':
squid_ldap_auth.o(.text+0x3b): undefined reference to `ldap_set_option'
squid_ldap_auth.o: In function `squid_ldap_set_referrals':
squid_ldap_auth.o(.text+0x65): undefined reference to `ldap_set_option'
collect2: ld returned 1 exit status
make: *** [squid_ldap_auth] Erreur 1

> forexample: when you configure squid, use like this:
>
> export CC="gcc -L/path/to/libs" && configure
>
> air

Thanks
Received on Tue Nov 05 2002 - 07:18:42 MST

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