[Zope] zope2 startup problem

Tony McDonald tony.mcdonald@ncl.ac.uk
Thu, 20 May 1999 14:28:45 +0100


>
>Curious. To narrow things, I recommend starting
>by trying to import ExtensionClass from a Python
>prompt.  I suggest going to lib/python and trying to
>import ExtensionClass yourself.
>
>Jim
>

Jim,
thanks for the thoughts.
I've gone to lib/python and ..

199 % python
Python 1.5.2 (#1, May 20 1999, 13:54:05)  [GCC egcs-2.91.66 19990314 
(egcs-1.1.2  on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import BTree
Traceback (innermost last):
   File "<stdin>", line 1, in ?
ImportError: ld.so.1: python: fatal: relocation error: file 
./BTree.so: symbol PyImport_ImportModule: referenced symbol not found
>>> import Missing
Traceback (innermost last):
   File "<stdin>", line 1, in ?
ImportError: ld.so.1: python: fatal: relocation error: file 
./Missing.so: symbol PyImport_ImportModule: referenced symbol not 
found
>>> import ExtensionClass   
Traceback (innermost last):
   File "<stdin>", line 1, in ?
ImportError: ld.so.1: python: fatal: relocation error: file 
./ExtensionClass.so: symbol PyImport_ImportModule: referenced symbol 
not found

and I'm completely stumped.

Is it anything to do with the way I've compiled up Python by any 
chance? Anyone who's compiled up Python 1.5.2 under Solaris have any 
thoughts?

Many thanks for the help,
tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2