[Zope] problem with python-ldap compiling
Jens Vagelpohl
jens at zope.com
Mon Jan 12 12:25:05 EST 2004
change setup.cfg and replace ldap_r with ldap in the LIBS line
jens
P.S.: This question is really off-topic, there are python-ldap lists.
On Jan 12, 2004, at 11:59, Encolpe Degoute wrote:
>
> Hi,
> when I compile python-ldap for the zope binary python on redhat 8.0
> I obtain this error:
>
> zope at plop:python-ldap-2.0.0pre13/> ../../../../bin/python
> Python 2.1.3 (#1, Sep 19 2002, 13:15:46)
> [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
> Type "copyright", "credits" or "license" for more information.
>>>> import ldap
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "ldap.py", line 2, in ?
> ImportError: /home/zope/Zope/lib/python2.1/site-packages/_ldap.so:
> undefined symbol: ldap_first_reference
>>>> import ldap
>>>> dir(ldap)
> ['__builtins__', '__doc__', '__file__', '__name__']
>
> The problem of ldap_first_reference appears in zope-cmf archive of
> July 2003, but the only solution given was to recompile openldap...
> http://zope.org/Members/barryp/win32_ldap give another solution but
> only for win32 (python21_ldap.pyd).
> What's new now?
>
> On debian I have no problems.
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2355 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20040112/544652d5/smime.bin
More information about the Zope
mailing list