[python-ldap] Python Ldap Compiliation Issue

Colin Wood cwood06 at gmail.com
Wed Jun 29 21:48:38 CEST 2011


I figured it out. I had to change the setup.cfg to load from my libs it was
usuing the wrong default dir.

2011/6/29 Colin Wood <cwood06 at gmail.com>

> Hi Michael,
>
> I actully got it to compile and I used the latest openLdap and that worked.
> But now I am getting this.
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/home/mradmin/.local/lib/python2.7/site-packages/python_ldap-2.4.0-py2.7-linux-x86_64.egg/ldap/__init__.py",
> line 22, in <module>
>     from _ldap import *
> ImportError:
> /home/SOMEUSER/.local/lib/python2.7/site-packages/python_ldap-2.4.0-py2.7-linux-x86_64.egg/_ldap.so:
> undefined symbol: ldap_create_assertion_control_value
>
>
> 2011/6/29 Michael Ströder <michael at stroeder.com>
>
>> Colin Wood wrote:
>> > I am having an issue with getting python-ldap to compile in my RHEL
>> > enviroment.
>> > I am running python 2.7.2 from source, and I have the
>> > openldap-devel package installed but still can not get this to work.
>>
>> Which OpenLDAP version is this?
>> Note that python-ldap 2.4.0+ requires OpenLDAP 2.4.11 libs to compile.
>>
>> It seems you trying to compile python-ldap from CVS HEAD (upcoming 2.4.1).
>> Why
>> that?
>>
>> Ciao, Michael.
>>
>> P.S.: I had to manually approve your posting to the mailing list since the
>> list only allows subscribers to post. Please subscribe to
>> python-ldap at python.org. It's low-traffic anyway.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20110629/dbe3ac4e/attachment.html>


More information about the python-ldap mailing list