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

From: Hamed Majnoonian <sharpknifeedge@dont-contact.us>
Date: Fri, 19 Dec 2003 14:47:09 +0330

Dear Henrik,

Thank you so very much for your reply.

Here is the LDADD line in my makefile:

##########################################
LDADD = -L$(top_builddir)/lib -lmiscutil -lldap -llber $(XTRA_LIBS)
##########################################

But I don't know how should I alter this to help the make works.
I know maybe this question sounds very simple but need your advice.

I have two pathes to libldap.a:

######################################################
/usr/ports/net/openldap21-client/work/openldap-2.1.23/libraries/libldap/.lib
s/libldap.a

/usr/local/lib/libldap.a
######################################################

Thank you and looking for your help

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Thursday, December 18, 2003 10:40 AM
To: Hamed Majnoonian
Cc: 'Henrik Nordstrom'
Subject: RE: [squid-users] Re: Problem to "make" LDAP_AUTH on Squid 2.4
STABLE 7

On Thu, 18 Dec 2003, Hamed Majnoonian wrote:

> The question is how can I tell my compiler where it could find ldap
> libraries or any other way to make this works?

This is done via the -L flag. Try editing the Makefile and add
-L/path/to/directory/containing/libldap.a to the beginning of the LDADD
variable.

Regards
Henrik
Received on Fri Dec 19 2003 - 04:18:17 MST

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