[Zope-dev] debugging Zope -> ImportError: ./ExtensionClass.so: undefined symbol: PyObject_Init

Jens Wolk jewo_lists@gmx.de
Mon, 16 Dec 2002 18:39:16 +0100


Am Montag, 16. Dezember 2002 16:54 schrieb Guido van Rossum:
> > I tried to follow "Chapter 7: Testing and Debugging" of "The Zope
> > Developer's Guide (Zope 2.4 edition)"
> > http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.s
> >tx
> >
> > However, on my Linux server I get the following error:
> > (Zope is v2.5.1)
> >
> > [root@prefect Zope-2.5.1-linux2-x86-dev]# cd lib/python
> > [root@prefect python]# python
> > Python 1.5.2 (#1, Apr  3 2002, 18:16:26)  [GCC 2.96 20000731 (Red Hat
> > Linux
>
> Um, Zope 2.5.1 requires Python 2.1.3 or later.  You're using Python
> 1.5.2 here.  That's probably the cause of the problems.

Thank you for pointing this out.

Just for the records:
I tried Python 2.2, but this didn't work either.
(This seems to be true for Zope-2.6.0, too)

Then I installed Python 2.1.3 and this works. Great.

However, there seems to be an easier solution: just use $ZOPE_HOME/bin/python 
...

Jens