Date: Thu, 6 Mar 2003 12:24:31 +0100 From: Pugnaloni Federico <f.pugnaloni@sitt.it> To: "'adrian@freebsd.org'" <adrian@freebsd.org> Cc: "'ports@FreeBSD.org'" <ports@freebsd.org> Subject: FreeBSD Port: squid-2.5 Message-ID: <35E044CAD856D3119384204C4F4F50202F2541@sittserver>
next in thread | raw e-mail | index | archive | help
Hi, I'm using a freebsd 4.7 box with openldap2.1 installed (and working) i'm trying to compile squid 2.5 from /usr/ports/squid with ldap auth support I've tried so in differente ways but it's always the same.... modified Makefile with --enable-auth=basic --enable-basic-auth-helpers="NCSA PAM YP LDAP" \ --enable-external-acl-helpers="ip_user unix_group ldap_group" \ but it wont compile .... it gives /usr/libexec/elf/ld: cannot find -lldap and the stops i've found that the Makefile on helpers/basic-auth/LDAP search for this library on ../../../lib directory, but there are no ldap libraries here i've put libldap* found on /usr/local/lib/ directory but it give me the same error for ldap_group and then stops i've found that the Makefile on helpers/external_acl/ldap_group search for this library on /usr/lib directory, but on my system this library was on /usr/local/lib so i've changed the line ading -L/usr/local/lib, but nothing it gives me another error.... squid_ldap_group.o(.text+0xbc4): undefined reference to `ldap_build_filter' *** Error code 1 so i decide to stop my test!! ami doing something wrong? my freebsd box is a 4.7 with openldap 2.1 vpopmail with ldap support p.s. i dont'know if it can be a problem: issuing #ld -l ldap i get /usr/libexec/elf/ld: cannot find -lldap but issuing #ld -L/usr/local/lib -l -ldap it's ok Thanks in advance for your help -- Federico Pugnaloni Cisco Security Specialist - CQS Cisco Firewall Specialist - CQS Cisco Certified Network Professional - CCNP Cisco Certified Network Associate - CCNA S.I.T.T. s.r.l. Via Achille Grandi, 49 60131 Ancona AN Tel. +39 071 2132934 Cell +39 335 1319615 Fax +39 071 2132999 E-mail: f.pugnaloni@sitt.it **************************************************************************** Il presente messaggio e' riservato unicamente per l'utilizzo da parte della persona fisica o giuridica a cui e'indirizzato e puo' contenere informazioni riservate, confidenziali ed esenti dall'obbligo di divulgazione in base alle leggi applicabili. Se il lettore di questo messaggio non e'il destinatario, con la presente si avvisa che qualsiasi diffusione, distribuzione o copia della presente comunicazione e' severamente proibita. Nel caso la presente comunicazione vi sia giunta per errore, si prega di avvisarmi immediatamente e di distruggere il messaggio originale ed ogni allegato. **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. **************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35E044CAD856D3119384204C4F4F50202F2541>