Python 2.3b1 + Tkinter on Solaris 2.6

Jeff Bauer jbauer at
Sun Apr 27 16:28:25 CEST 2003

> You are overlooking something, but it is not obvious, and it is likely
> not a bug in Python.
>> *** WARNING: renaming "_tkinter" since importing it failed:
>> ./python: fatal: relocation error: file
>>   /usr/local/lib/ symbol __eprintf: referenced symbol not
>> found
> __eprintf is traditionally a symbol from libgcc.a, and gets into
> object files whenever the source code has assert().
> It appears that your Tk installation was made with a gcc version that
> had assert implemented with __eprintf. Could it be that you have
> changed gcc versions since?  If so, you need to recompile Tk (or,
> alternatively, link python and/or with the gcc version
> that was used to link Tk)


Thanks for your response.  I removed every occurrence of
the tcl/tk libraries from my system, then rebuilt tcl/tk
from source.  I then rebuilt Python2.3b1 from scratch, but
the same error occurs.  :-(

Jeff Bauer
Rubicon Research

More information about the Python-list mailing list