httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Miranda <>
Subject Re: [users@httpd] Compiling auth_ldap on solaris throw some errors
Date Wed, 24 Oct 2007 21:23:29 GMT

    After some tweaking it worked, what I changed at my environment

1) added --with-ldap to configure httpd, as documented at

The --with-ldap switches on LDAP library linking in apr-util
The --enable-ldap option switches on the LDAP caching module

./configure --prefix=/usr/local/apache2_NAO --with-ldap --enable-ldap

2) added the environment variable

export CPPFLAGS=-I/opt/csw/include
export LD_LIBRARY_PATH=/opt/csw/lib:/var/opt/ds/lib

    Although I didn't test each one individually, it worked as I wanted.

Claudio Miranda wrote:
>     Hi all, I hope this is the right mailing list for this sort of
> question. 
>     I am trying to compile httpd with ldap_auth support, but there is an
> error
> util_ldap.c:43:2: #error mod_ldap requires APR-util to have LDAP support
> built in
>     I configured apr-util to have ldap support, but looks like its not
> working.

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message