Apache 2.2.8 + mod_authnz_ldap
nino80 at gmail.com
Fri May 9 00:03:03 UTC 2008
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
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.
More information about the freebsd-questions