48 lines
2.0 KiB
Plaintext
48 lines
2.0 KiB
Plaintext
From: phd at sun.med.ru (Oleg Broytmann)
|
|
Date: Tue, 27 Apr 1999 18:49:38 +0400 (MSD)
|
|
Subject: PyApache problem (was -- Re: Cross-references between dynamically loaded modules under AIX)
|
|
In-Reply-To: <19990427081109.C579158@vislab.epa.gov>
|
|
Message-ID: <Pine.SOL2.3.96.SK.990427184329.20170A-100000@sun.med.ru>
|
|
Content-Length: 1660
|
|
X-UID: 937
|
|
|
|
Hello!
|
|
|
|
Recenly I found a problem trying to use PyApache. I installed it on Sun
|
|
(sparc-solaris), found it working nicely, and tried to install it on linux.
|
|
I got an error in httpd error_log:
|
|
|
|
Traceback (innermost last):
|
|
File "xxx.py", line 3, in ?
|
|
import cgi
|
|
File "/usr/local/lib/python1.5/cgi.py", line 422, in ?
|
|
import urllib
|
|
File "/usr/local/lib/python1.5/urllib.py", line 25, in ?
|
|
import socket
|
|
ImportError: /usr/local/lib/python1.5/lib-dynload/socketmodule.so:
|
|
undefined symbol: _Py_NoneStruct
|
|
|
|
I recompiled PyApache with different options. Sometimes it works,
|
|
sometimes it files again with the same error.
|
|
Anyone understand what is going on and how to make PyApache stable?
|
|
|
|
(on all my systems - sun, redhat 5.1 and debian 2.1 - there is python
|
|
1.5.1 and apache 1.3.4; recently I upgraded to python 1.5.2 and apache
|
|
1.3.6, but nothing changed - the same problem with dynamic loading)
|
|
|
|
On Tue, 27 Apr 1999, Randall Hopper wrote:
|
|
> Not knowing NumPy, my assumption is you are failing on a .so-to-.so module
|
|
> dynamic link. If so...
|
|
[skipped]
|
|
> Randall
|
|
|
|
Oleg.
|
|
----
|
|
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
|
|
Programmers don't die, they just GOSUB without RETURN.
|
|
|
|
|
|
|
|
|
|
|