Date: Fri, 9 May 2008 02:03:01 +0200 From: "n j" <nino80@gmail.com> To: "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Apache 2.2.8 + mod_authnz_ldap Message-ID: <92bcbda50805081703g7577acb4na36958599c3d5e83@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50805081703g7577acb4na36958599c3d5e83>