donal.hunt2 at mail.dcu.ie wrote: > > ImportError: /usr/local/lib/libldap.so.2: 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.