Re: [Moin-devel] problem getting test page to work
Florian Festi <[email protected]>
| Newsgroups | gmane.comp.web.wiki.moin.general,gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <Pine.GHP.4.33.0312210850500.27841-100000@rupert.informatik.uni-stuttgart.de> |
> MoinMoin version: 1.1 > Python version: 2.2.1 > Apache version: 2.0.48 > OS: Sun Solaris > import cStringIO, os, re, sys, string, urllib > File > "/Net/chiffd01/sun_binlib5/local/python2.2.1/lib/python2.2/urllib.py", line > 26, in ? > import socket > File > "/Net/chiffd01/sun_binlib5/local/python2.2.1/lib/python2.2/socket.py", line > 41, in ? > from _socket import * > ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file > /Net/chiffd01/sun_binlib5/local/python2.2.1/lib/python2.2/lib-dynload/_socke > t.so: symbol gai_strerror: referenced symbol not found Looks like your Python installation is dammaged or buggy (Python 2.2.1 is known to have some serious bugs). Try: import urllib import socket in the interpreter to verify this. If the import works it is possible that some environment variables are not set properly in the CGI environment of the webserver, but this is not very likely. Consider updating to Python 2.2.2 or even better 2.3.2 and try compiling it on that maschine. Hope that helps FlorianFesti ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click