I was completely wrong, sorry. Here is the right configure command
that does what you want:

./configure --prefix=/usr/local/apache2 --enable-ldap
--enable-auth-ldap --with-ldap --enable-ssl --with-ssl
--enable-authnz-ldap

--with-ldap and --with-ssl are critical, without them correct LDAP
support in apr-util is disabled.

Don't forget to run make clean before recompiling.

Regards.

On 11/1/06, Serge Dubrouski <[EMAIL PROTECTED]> wrote:
I'm not sure, but I think that there is a conflict between
apr-utl-devel rpm installed on your CentOS box and apr delivered with
Apache 2.2.3. APR in CentOS is from Apache 2.0.XX project and as far
as I know it's not compatible with 2.2.3. When you try to compile
Apache 2.2.3 linker find installed old APR libraries first. So try to
remove apr and apr-devel packages from your machine and compile Apache
2.2.3 then. Unfortunately I can't check this on mine CentOS box.


On 11/1/06, Quentin North <[EMAIL PROTECTED]> wrote:
> On my linux Yum shows:
> Installed Packages
> openldap.i386                            2.2.13-6.4E
> installed
> openldap-clients.i386                    2.2.13-6.4E
> installed
> openldap-devel.i386                      2.2.13-6.4E
> installed
>
> All in /usr/lib and /usr/include as far as I can tell.
>
> > -----Original Message-----
> > From: Serge Dubrouski [mailto:[EMAIL PROTECTED]
> > Sent: 31 October 2006 17:18
> > To: users@httpd.apache.org
> > Subject: Re: [EMAIL PROTECTED] Problem building apache 2.2.23
> > with mod_ldap_auth
> >
> > Do you have openldap-devel rpm installed?
> >
> > On 10/31/06, Quentin North <[EMAIL PROTECTED]> wrote:
> > > John
> > >
> > > Thanks for your reply
> > >
> > > > -----Original Message-----
> > > > From: John P. Dodge [mailto:[EMAIL PROTECTED]
> > > >
> > > > On Fri, 27 Oct 2006, Quentin North wrote:
> > > >
> > > > > Im trying to build apache 2.2.23 on Centos4 with
> > > > mod_ldap_auth. Im using
> > > > > the following configure line:
> > > > >
> > > > > ./configure --prefix=/apache --enable-ldap --enable-auth-ldap
> > > > > --with-apr=srclib/apr --with-apr-util=srclib/apr-util
> > > > >
> > > >
> > > > Use the following configure options to build APR with ldap:
> > > >
> > > >  --with-ldap  --with-ldap-dir=/opt/openldap
> > >
> > > Im using the Centos4 bundled Openldap install which has the ldap
> > > libraries in /usr/lib/libldap* and the headers in
> > /usr/include/ldap* so
> > > do I still need to specify the ldap-dir? Do I need to do an
> > additional
> > > install of Openldap to use instead of the Centos4 bundled one?
> > >
> > > All help appreciated.
> > >
> > >
> > ---------------------------------------------------------------------
> > > 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]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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]
>
>


---------------------------------------------------------------------
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]

Reply via email to