[Moin-user] RE: [Moin-devel] problem getting test page to work
Kotha, Srikanth
srikanth.kotha at bankofamerica.com
Sun Dec 21 15:22:01 EST 2003
Florian and Thomas,
The problem seemed to be because of the python installation as you
mentioned. I switched to python 2.3.2 and it's working fine now.
Thanks for the help.
Srikanth.
-----Original Message-----
From: Florian Festi [mailto:festifn at rupert.informatik.uni-stuttgart.de]
Sent: Sunday, December 21, 2003 1:56 AM
To: Kotha, Srikanth
Cc: moin-user at lists.sourceforge.net; moin-devel at lists.sourceforge.net
Subject: Re: [Moin-devel] problem getting test page to work
> 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
More information about the Moin-user
mailing list