undefined symbol: ber_pvt_opt_on
David Leonard
d at adaptive-enterprises.com.au
Thu Nov 18 02:17:44 CET 2004
It looks like _ldap.so module was not linked with -lber.
ber_pvt_opt_on was introduced early in the openldap-2.2 branch, so
OpenLDAP-2.2.17 will certainly that symbol.
References:
http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/options.c (1.35)
d
On Thu, 17 Nov 2004, Gwenaelle Demol typed thusly:
> Hello David Leonard,
>
> I've an error when i import the product Ldap in my python2.3. Do you
> recognise this error ?:
>
>>>> import ldap
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "/home/user/Zopes/m8/Python/lib/python2.3/site-packages/ldap/__init__.py", line 21, in ?
> from _ldap import *
> ImportError:
> /home/user/Zopes/m8/Python/lib/python2.3/site-packages/_ldap.so:
> undefined symbol: ber_pvt_opt_on
> (i use /home/user/Zopes/m8/Python/lib/python2.3 and not the python
> system)
>
> I work on RedHat 9.0, I've installed OpenLDAP-2.2.17
> Before install your products (python-ldap-2.0.5), i've edited the file
> setup.cfg with my librairies directories.
>
> I have no idea about this error. Can you help me ? I searched on the web
> but i don't find any solution to fix it.
>
> Thanks very much
> Gwenaelle Demol
>
>
--
David Leonard d at adaptive-enterprises.com.au
Ph:+61 404 844 850
More information about the python-ldap
mailing list