ldap installation problem with apache

Philip M. Gollucci pgollucci at taximagic.com
Mon Nov 14 02:17:55 UTC 2011

On 11/13/11 9:29 AM, Olli Hauer wrote:
> 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
Also 2.2.1 is anicent and CVE riddled.

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

More information about the freebsd-apache mailing list