[jadmin] Re: ./configure Postgres and LDAP

Joonas Penttinen jppentti at cc.hut.fi
Wed May 10 14:38:03 CDT 2006


> When I run ./configure with postgres 8.1.3 and openldap 2.3.21 enabled
> it fails, and I get the same result if I disable mysql.  I'm trying to
> run jabberd 2.0 s11 on a slackware 10.2 box.
> 
> I execute the following:
> ./configure --disable-mysql --enable-idn --enable-ssl --enable-pgsql
> --enable-ldap --with-extra-include-path=/usr/local/pgsql/include:/usr/local/include
> --with-extra-library-path=/usr/local/pgsql/lib:/usr/local/lib
> 
> but the configuration fails when I get to OpenLDAP.
> 
> checking for OpenLDAP version >= 2.1.0... no
> configure: error: OpenLDAP client libraries >= 2.1.0 not found
> 
> I can build jabber with postgres or openldap, but not both.
> 
> -LogosX

Hey,

I had the same problem with OpenLDAP and Postgres. The error is in the 
tests the configure script does (and how it reports the errors to the 
user). In my case the script didn't find the postgres libraries even 
though the error message indicates that LDAP libraries are missing.

I circumvented the problem by manually editing /etc/ld.so.conf (I use 
Linux as my server platform) and inserted the library path there.

Hope this helps.

-Joonas



More information about the JAdmin mailing list