RE: [squid-users] Problem to "make" LDAP_AUTH on Squid 2.4 STABLE 7

From: Hamed Majnoonian <sharpknifeedge@dont-contact.us>
Date: Wed, 17 Dec 2003 22:40:30 +0330

I did that but I found that I have installed that before. So I tried to
deinstall the package and then I install that again with the command you
gave me.
Then I ran : "ldconfig -m /usr/local/lib" ... and I had no error message at
all.
Then I went to : /usr/ports/www/squid/.../helpers/basic_auth/LDAP
And typed this: make
But what I've got is the following:

######################################################
cc -O -pipe -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 /usr/ports/www/squid/work/squid-2.5.STABLE3/helpers/basic_auth/LDAP.
######################################################

Thank you for your help

-----Original Message-----
From: Duane Wessels [mailto:wessels@squid-cache.org]
Sent: Wednesday, December 17, 2003 10:24 PM
To: Hamed Majnoonian
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Problem to "make" LDAP_AUTH on Squid 2.4 STABLE 7

On Wed, 17 Dec 2003, Hamed Majnoonian wrote:

> I am using a 4.9 STABLE machine and Squid 2.4 on it. Whenever I want to
make
> my LDAP_AUTH I got this error message:
>
>
>
> ###############################################
> cc -g -o squid_ldap_auth squid_ldap_auth.o -lldap -llber -lm
> /usr/libexec/elf/ld: cannot find -lldap
> *** Error code 1
>
> Stop in /usr/ports/www/squid24/work/squid-2.4.STABLE7/auth_modules/LDAP.
> ###############################################
>
> I have searched for "lldap" but it showed me:
> ################################################
>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/experimental/NWGNUutilldap
> ################################################
>
> What else should I do to make and make install that authentication module?

You probably want to install the openladp21-client port, or maybe
openldap22-client port:

   # cd /usr/ports/net/openldap21-client
   # make all install

Duane W.
Received on Wed Dec 17 2003 - 12:11:35 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:16 MST