Python parts of module ldap

donal.hunt2 at donal.hunt2 at
Sat Dec 29 16:25:56 CET 2001


System is a Suse Linux install on a S390 VM!

donal at myVMbox:~ > uname -a
Linux myVMbox 2.2.16 #1 SMP Wed Nov 8 10:57:03 GMT 2000 s390 unknown

The tweak below sorted the problem.  Nice one.


>-- Original Message --
>Date: Fri, 28 Dec 2001 20:17:34 +0100
>From: Michael Ströder <michael at>
>Reply-To: michael at
>To: donal.hunt2 at
>Cc: python-ldap-dev <python-ldap-dev at>
>Subject: Re: Python parts of module ldap
>donal.hunt2 at wrote:
>> ImportError: /usr/local/lib/ undefined symbol: res_query
>On which system are you building python-ldap?
>I believe you have to explicitly link libresolv.
>Tweak setup.cfg to contain this line:
>libs = lber ldap resolv
>Ciao, Michael.

More information about the python-ldap mailing list