Problems importing ldap in Zope
Jens Vagelpohl
jens at zope.com
Sat Nov 30 02:12:57 CET 2002
this problem has nothing to do with zope. the ldap module zope is
trying to import is messed up. the one zope is trying to import is most
likely not the same one that gets imported if you run python itself
from the command line.
you need to locate the exact python binary zope uses and rebuild the
python-ldap module with that binary.
jens
On Friday, Nov 29, 2002, at 19:09 US/Eastern, Jorge Loureiro Dias wrote:
> I´m using Linux RedHat 8, Zope 2.6 , python-ldap-2.0.0pre06-1(rpm
> version)
> and LDAPUserFolder.
> I also have Python 2.2 installed.
>
> In Python, I can 'import ldap' and connect to my LDAP server.
> Everything
> works fine.
>
> But when Zope starts and tries to import ldap, it fails and sends a
> message:
>
> "undefined symbol PyType_IsSubtype".
>
> With Zope 2.51 and another server the same error occurs.
>
> --
> Jorge Loureiro Dias
> loureiro at dte.gov.br
>
>
>
More information about the python-ldap
mailing list