Python 2.2.1 vs. gcc 3.1?

Andrew Koenig ark at
Fri Jun 7 14:04:41 EDT 2002

Skip> Try running the just built python executable and then manually execute
Skip> "import struct".  What error message(s) do you see?

$ python
Python 2.2.1 (#1, Jun  7 2002, 12:06:38) 
[GCC 3.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: python: fatal: relocation error: file /usr/gnu/lib/python2.2/lib-dynload/ symbol PyString_Type: referenced symbol not found

However, please note that /usr/gnu/lib/python2.2/lib-dynload/
is left over from the previous installation, because the new one didn't
install a new at all.  Therefore, I do not think that this
diagnostic messge is relevant.

More information about the Python-list mailing list