From owner-freebsd-questions@FreeBSD.ORG Fri May 9 00:03:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43F29106564A for ; Fri, 9 May 2008 00:03:03 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBC08FC16 for ; Fri, 9 May 2008 00:03:02 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1657606rvf.43 for ; Thu, 08 May 2008 17:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=GHtg4detenHgT2pFn0VrSzhviDenRakVG1latvEjE04=; b=YBSH76thEnN0wZC/czpshBpJeyPmBWHU1lqlt7Jp94lcm+nUji6YJB6oaydPXNxcOelcb9GRB8F8HqnOSQ0s2W1Fh6AHtCcWgHSaXmM669eS8tIXjvqrewJZqnJKzDIL4nuvTG0GYTriZExj0PmuWnJVosQfNfgl1QkPh999Pjg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bCkm7fa6H4BxoL7T67XMjAC9CjiMw5OTG19nXT77qY/8EvWC6V7EgsWPaa3fX0cBK0BmdoKpfq8CZyltIUhZ6TtNFA+BB+oBWqQW+mRXbdcxsoqaK+BlC0HyGt6PL/ClR2FoaMk8dL49ghDWmSWiSGISsJb9RhAhkKzX8hCrvj4= Received: by 10.140.140.3 with SMTP id n3mr1806347rvd.299.1210291381621; Thu, 08 May 2008 17:03:01 -0700 (PDT) Received: by 10.141.28.10 with HTTP; Thu, 8 May 2008 17:03:01 -0700 (PDT) Message-ID: <92bcbda50805081703g7577acb4na36958599c3d5e83@mail.gmail.com> Date: Fri, 9 May 2008 02:03:01 +0200 From: "n j" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Apache 2.2.8 + mod_authnz_ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2008 00:03:03 -0000 Hello, did anyone experience any problems trying to install mod_authnz_ldap with Apache 2.2.8 on FreeBSD 6.3? I ran into the following trouble: mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure which caused "Stop in /usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa. *** Error code 1". This helped: http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/ It turns out that by configuring manually, -lldap indeed gets added to APRUTIL_LIBS, while the same configuration adds -liconv in that spot when run "the ports way" (make; make install). This caused some more problems when returning to normal build as libtool starts to complain about being unable to infer tagged configuration. Resolving that, build finishes ok, but fails again during install, this time trying to relink libaprutil.la, again due to failing to infer tag. Adding "tagname=CC" just before it's about to fail in libtool script helped. Hope this helps someone. It might be an Apache error as there are some FreeBSD-specific hacks in the original libtool code; on the other hand, it might be that the problem is the port. Regards, -- Nino