python + ldap + ERROR!! HELP!
Michael Ströder
michael at stroeder.com
Mon Oct 16 08:11:30 EDT 2000
"Jørgen Teunis" wrote:
>
> ImportError: ld.so.1: python: fatal: relocation error: file
> /usr/local/lib/python1.5/site-packages/_ldapmodule.so: symbol ldap_bind_s:
> referenced symbol not found
Something's wrong with your shared libs setup.
Assuming you're on Linux:
Check ldd _ldapmodule.so. Should look like this:
# ldd /usr/lib/python/site-packages/_ldapmodule.so
libldap.so.1 => /usr/lib/libldap.so.1 (0x4001b000)
liblber.so.1 => /usr/lib/liblber.so.1 (0x40030000)
libm.so.6 => /lib/libm.so.6 (0x40035000)
libc.so.6 => /lib/libc.so.6 (0x40052000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Check the output of ldconfig -v, adjust /etc/ld.so.conf.
Ciao, Michael.
More information about the Python-list
mailing list