ldap installation problem with apache

Olli Hauer ohauer at FreeBSD.org
Sun Nov 13 17:29:37 UTC 2011

On 2011-11-13 10:57, Umar Draz wrote:
> Hi,
> I am trying to install apache-2.2.1 on FreeBSD 8.2 64bit, I want to use ldap_authentication. Here is my make.conf
> But I am getting this error on make install
> mod_authnz_ldap.c:41:2: error: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
> mod_authnz_ldap.c:63: error: expected specifier-qualifier-list before 'deref_options'
> the apr package is also installed
> apr- Apache Portability Library
> Please help me how to solve this error

Hi Umar,

that's the wrong apr package! (maybe a relict from apache13)

apache22 needs the apr1 port (devel/apr1) but you have apr0 installed.

See ports/UPDATING entry from 20100518
$> grep -A27 20100518 /usr/ports/UPDATING

$> cd ports/devel/apr1
$> make config -> add LDAP to the mix

then follow the UPDATING instruction or do a manually delete of apr0 and fresh installation of devel/apr1


More information about the freebsd-apache mailing list