Found a solution.
I needed to change the Makefile for squid_ldap_auth
1. find string "XTRA_LIBS= -lm" and change is to "XTRA_LIBS= -lm -L/usr/local/lib"
2. find string "INCLUDES = -I$(top_srcdir)/include" and change is to "INCLUDES = -I$(top_srcdir)/include -I/usr/local/include"
Dean
>>> "Jay Turner" <jturner@bsis.com.au> 05/01/03 05:08pm >>>
Make sure you have installed openLDAP-devel aswell.
Regards
Jay
-----Original Message-----
From: Dean Grubb [mailto:Dean.Grubb@tafe.tas.edu.au]
Sent: Thursday, 1 May 2003 2:57 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Compiling squid with LDAP auth
Hi, I'am trying to perform the basic task of compiling squid with the =
basic auth LDAP module, to me this should be a simple matter but after two =
hours trying...well...
I installed a clean OS FreeBSD 4.8
I installed openldap 2.1.12 form the ports collection (which installed =
DB4)
I ran squids ./configure script
I do a make
and it tells me it can find ldap.h lber.h
I try other version of openldap except the latest which tells me I have =
the incorrect version on DB, so I install DB4.1 still no go...so I can =
install the new version of openldap..I go back to the ports version...
there has got to be a simpler way?
how do I tell the make file to look in the right include directories?
Dean Grubb
Customer Support Officer
TAFE Tasmania
Devonport Center
20 Valley Road
PH:03 64215560
E-Mail:dean.grubb@tafe.tas.edu.au
Received on Thu May 01 2003 - 17:41:57 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:09 MST