Building python-ldap from CVS against OpenLDAP 1.2.11/12

Michael Ströder michael at stroeder.com
Tue Jun 26 00:31:36 CEST 2001


Michael Ströder wrote:
> 
> Could someone with autoconf knowledge please have a look into the
> config.log attached? I simply do not understand why this won't work.
> 
> I guess it mainly fails because of this:
> /usr/local/openldap1/lib/libldap.so: undefined reference to
> `__dn_expand'
> /usr/local/openldap1/lib/libldap.so: undefined reference to
> `__res_search'
> /usr/local/openldap1/lib/libldap.so: undefined reference to
> `_getshort'

(Sigh!) I had to link explicitly against libresolv on my
system (S.u.S.E. Linux 7.1 with glibc-2.2).

export "LDFLAGS=-lresolv"
./configure

Hmm, I wonder why this worked under 7.0...grrr!

Ciao, Michael.




More information about the python-ldap mailing list