[Zope] Problem starting Zope 2.2.3 on x86 Solaris 8
Garry Saperstein
Garry@gateway.saperstein.net
Sun, 15 Jul 2001 15:23:39 -0700
Hi,
Thanks for the advice. The GCC compiler didn't like the -XLinker flag, but
the -export-dynamic flag was the key.
Thanks again,
Garry
____________________________________________________________
Garry Saperstein Voice: 408 249-2313
1063 Oleander Court Fax: 408 351-9084
Sunnyvale, CA 94086 Email: Garry@Saperstein.net
> From: Dieter Maurer <dieter@handshake.de>
> Date: Sun, 15 Jul 2001 20:38:00 +0200 (CEST)
> To: Garry Saperstein <Garry@gateway.saperstein.net>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] Problem starting Zope 2.2.3 on x86 Solaris 8
>
> 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
>