_tkinter.so: undefined symbol: PyThread_acquire_lock

Alex cut_me_out at hotmail.com
Tue Aug 1 14:47:25 EDT 2000


> Sigh, after following those instructions I'm still getting:

Sorry, Thomas, I don't know what you ought to do in that case.  The only
thing I can think of is to check that threadmodule.o is being linked
into the python executable.  Oh, one other possibility that just
occurred to me is to compile python so that _tkinter is statically
linked in.  Do that by putting *static* on the line before the part of
the Setup file that pertains to _tkinter.  It may not solve your
problem, but at least it should give you an error at compile time, and
might be more informative.

Alex.



More information about the Python-list mailing list