error running Demo/extend

tjdukes at tjdukes at
Tue Apr 4 01:56:15 CEST 2000

I have Python-1.5.2, built on Solaris 2.6 using gcc 2.91.66.
I tried to run the Demo on extending python with c.
I typed
and a bunch of text went by. Then I typed
$ python
Python 1.5.2 (#1, Oct 20 1999, 13:48:38) [GCC egcs-2.91.66 19990314
(egcs-1.1.2 on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import xx
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: python: fatal: relocation error: file
./ symbol _PyObject_New: referenced symbol not found
What is causing the unfound referenced symbol?
Here is the line from my config.status showing how
python was configured.
# ./configure --prefix=/nfs/ibmoto/tools/tlv6/gnome/gnome --with-thread
Any help is appreciated.

Sent via
Before you buy.

More information about the Python-list mailing list