[Zope] Problem starting Zope 2.2.3 on x86 Solaris 8

Dieter Maurer dieter@handshake.de
Sun, 15 Jul 2001 20:38:00 +0200 (CEST)


Garry Saperstein writes:
 > I've been unable to start Zope on a x86 Solaris 8 server using the following
 > configuration:
 > 
 > Solaris x86 8 w/current patches
 > GCC 2.9.5.2 
 > GNU binutils 2.11 
 > Python 1.52 built with ./configure --with-thread
 > Zope 2.2.3
 >  
 > I get the following error:
 > 
 > % cd /usr/local/Zope-2.3.3
 > % ./start 
 > ------ 
 > 2001-07-14T17:03:35 PANIC(300) z2 Startup exception
 > Traceback (innermost last):
 >   File /usr/local/Zope-2.3.3/z2.py, line 566, in ?
 >   File <string>, line 1, in ?
 >   File /usr/local/Zope-2.3.3/lib/python/Zope/__init__.py, line 94, in ?
 >   File /usr/local/Zope-2.3.3/lib/python/ZODB/__init__.py, line 85, in ?
 > ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file
 > /usr/local/Zope-2.3.3/li\
 > b/python/ExtensionClass.so: symbol PyImport_ImportModule: referenced symbol
 > not found 
Apparently, your Python is linked without export of its global symbols.

I do not know x86 Solaris 8.
"gcc" often uses "gcc -XLinker -export-dynamic" to instruct
the linker that it should export symbols for dynamic linking.
Under Sparc Solaris, this is implicit, no special option is
necessary. Maybe, this is different for x86 Solaris and
the "configure" script did not find that out.


Dieter