[Moin-user] Re: [Moin-devel] problem getting test page to work

Florian Festi festifn at rupert.informatik.uni-stuttgart.de
Sat Dec 20 23:56:02 EST 2003


> 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