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:[EMAIL PROTECTED] 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