From owner-freebsd-ports Thu Mar 6 3:23:51 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F7337B401; Thu, 6 Mar 2003 03:23:48 -0800 (PST) Received: from sirio.fastnet.it (sirio.fastnet.it [195.96.192.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3300A43F75; Thu, 6 Mar 2003 03:23:47 -0800 (PST) (envelope-from f.pugnaloni@sitt.it) Received: from sittserver.sitt.intra (gw-fastnet.sitt.it [195.96.195.62] (may be forged)) by sirio.fastnet.it (8.12.3/8.12.3/FASTnet_ISP-5) with SMTP id h26BNddp008178; Thu, 6 Mar 2003 12:23:43 +0100 Received: by sittserver with Internet Mail Service (5.5.2653.19) id ; Thu, 6 Mar 2003 12:24:38 +0100 Message-ID: <35E044CAD856D3119384204C4F4F50202F2541@sittserver> From: Pugnaloni Federico To: "'adrian@freebsd.org'" Cc: "'ports@FreeBSD.org'" Subject: FreeBSD Port: squid-2.5 Date: Thu, 6 Mar 2003 12:24:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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