Someone reported a bug that pygtk wasn't working with
the python embedded in glimmer on the pygtk mailing
list. They were using Solaris, so I think the problem
is probably on your side.
In order for extension modules to work correctly with
an embedded python, the python symbols must be in the
global symbol table. The way you are linking the
glimmer executable that won't always be true (it will
work on linux because the gtk-config script special
cases linux and adds the -rdynamic flag, which exports
the app's symbols).
This problem is trivial to fix in a cross platform
manner if you are using libtool to link the app.
Simply add "-export-dynamic" to the _LDFLAGS for the
app, and libtool will insert the appropriate link flag
for you, which should fix the problem on all platforms.
James Henstridge <james daa com au>