Rolf wrote: > During the make process it fails when trying to make squid_ldap_group. > Undefined reference to ldap_build_filter. > > Further resaerch indicates that the function ldap_build_filter has been > removed from the openldap libs since some recent version 2 release. > I discovered that squid_ldap_match available at > http://marasystems.com/download/LDAP_Group/ does what squid_ldap_group does > without relying on ldap_build_filter.
The two are infact the same program. The update is also available in the current nightly snapshots of Squid-2.5 or as a patch from the Squid-2.5 known bugs page <http://www.squid-cache.org/Versions/v2/2.5/bugs/> > So I presume I can use that. But I am now stuck. How do I incorporate and > build that file (the c source file and the man page) into the main squid > make process? If its as simple as passing a line to gcc to produce a > binary, what might that line be? In that event, what do I need to change to > stop the main build failing when it gets to the squid_ldap_group makefiles > (in helpers/external_acl/ldap_group? (tried moving that helper out of the > source tree but then it couldn't find it and complained) gcc -o squid_ldap_match squid_ldap_match.c -lldap -llber should work. Regards Henrik
