[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ldap-dev
Subject:    Re: Problems importing ldap in Zope
From:       Jens Vagelpohl <jens () zope ! com>
Date:       2002-11-30 1:12:57
[Download RAW message or body]

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@dte.gov.br
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Python-LDAP-dev mailing list
> Python-LDAP-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic