Python/GLib misbehaving

Not entirely sure if this is the right section, but it seems alright.. I've freshly installed Xorg, gnome2, and random other things onto a 7.1 release system. Everything seems to be working smoothly, except a large number of programs won't run, all of them spilling out this:

Code:
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/glib/_glib.so: Undefined symbol "PyThread_set_key_value"

GLChess spits out this exact thing here:

Code:
Traceback (most recent call last):
  File "/usr/local/bin/glchess", line 4, in <module>
    import glchess.main
  File "/usr/local/lib/python2.5/site-packages/glchess/main.py", line 17, in <module>
    import config
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 1, in <module>
    from defaults import *
  File "/usr/local/lib/python2.5/site-packages/glchess/defaults.py", line 24, in <module>
    import gtk.glade
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 38, in <module>
    import gobject as _gobject
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 33, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/glib/__init__.py", line 30, in <module>
    from glib._glib import *
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/glib/_glib.so: Undefined symbol "PyThread_set_key_value"

CCSM gives this:

Code:
Traceback (most recent call last):
  File "/usr/local/bin/ccsm", line 32, in <module>
    import gtk
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 38, in <module>
    import gobject as _gobject
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 33, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/glib/__init__.py", line 30, in <module>
    from glib._glib import *
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/glib/_glib.so: Undefined symbol "PyThread_set_key_value"

And, deluge from the deluge05 port, gives this:

Code:
Traceback (most recent call last):
  File "/usr/local/bin/deluge", line 43, in <module>
    import deluge
  File "/usr/local/lib/python2.5/site-packages/deluge/__init__.py", line 36, in <module>
    import gtk.glade
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 38, in <module>
    import gobject as _gobject
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 33, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/glib/__init__.py", line 30, in <module>
    from glib._glib import *
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/glib/_glib.so: Undefined symbol "PyThread_set_key_value"

I didn't get any complaints from glib, python or gtk about dependancies or anything when they were installed.. they all seemed to go on just fine. I have compat5x, compat6x and linux (whatever the default one is) enabled in rc.conf, as well as dbus. python25 has "Enable thread support" disabled in make config, as well as "Enable floating point exception handling" and "Use a larger thread stack."

Thanks!
 
Back
Top