Python 2.2.1 vs. gcc 3.1?
Andrew Koenig
ark at research.att.com
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: ld.so.1: python: fatal: relocation error: file /usr/gnu/lib/python2.2/lib-dynload/struct.so: symbol PyString_Type: referenced symbol not found
>>>
However, please note that /usr/gnu/lib/python2.2/lib-dynload/struct.so
is left over from the previous installation, because the new one didn't
install a new struct.so at all. Therefore, I do not think that this
diagnostic messge is relevant.
More information about the Python-list
mailing list