List Info

Thread: ./configure Postgres and LDAP




./configure Postgres and LDAP
user name
2006-05-10 19:38:03
> 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/loca
l/include
>
--with-extra-library-path=/usr/local/pgsql/lib:/usr/local/li
b
> 
> 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
_______________________________________________
jadmin mailing list
jadminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
./configure Postgres and LDAP
user name
2006-05-10 20:31:47
Your solution didn't work for me but it did get me going in
the right
direction.  I created a system link for the include path
instead of
using the "--with-extra-include-path" flag. 
However I did still need
to use "--with-extra-library-path" flag.  Using
a system link for that
didn't work.

Thanks,
LogosX

On 5/10/06, Joonas Penttinen <jppentticc.hut.fi> wrote:
> > 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/loca
l/include
> >
--with-extra-library-path=/usr/local/pgsql/lib:/usr/local/li
b
> >
> > 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
> _______________________________________________
> jadmin mailing list
> jadminjabber.org
> http:/
/mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>
_______________________________________________
jadmin mailing list
jadminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )