After some tweaking it worked, what I changed at my environment
1) added --with-ldap to configure httpd, as documented at
modules/experimental/README.ldap
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
--enable-auth-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:
http://www.nabble.com/Compiling-auth_ldap-on-solaris-throw-some-errors-tf4685599.html#a13395305
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]