I am trying to get PyGTK working over DirectFB and I am having trouble with 
that.

If I run "import gtk.gdk" from my python shell, this is the error that I get:
>>> import gtk.gdk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 
48, in <module>
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so: 
undefined symbol: gdk_keyval_convert_case

I tried implementing gdk_keyval_convert_case but then I got the same error with 
the exception that this time the undefined symbol was 
gdk_keymap_have_bidi_layouts. I did not attempt to write this function but I 
just defined it and just made it a gwarning. But unfortunately now when I run 
my python applications, I get a segmentation fault.

Does anyone have any suggestions how to add these functions? I do not think I 
will be using them, I just need python to be able to import gtk.gdk, so if your 
recommendation just has to do with how to trick python into thinking that it 
has these two functions mentioned above, please let me know!

Thank you,

Razvan A. Lupusoru
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to