Hi All.

I'm trying to get PyGTK running under DirectFB.  I'll explain the steps
I'm taking and the error I get.

1)
I follow the steps outlined in the wiki here:
http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB

up until the end of the "Testing" section.

2)
I download and install Python with my PREFIX, LD_LIBRARY_PATH and
PKG_CONFIG_PATH set according to the wiki page.  Then I
prepend /usr/gtkdfb/bin to my PATH variable so it uses that python
binary.  I set my PYTHON_PATH=/usr/gtkdfb/lib/python2.4/site-packages


3)
I download and install pygobject with those env variables defined.

4)
I download and install pygtk similarly

So that's the whole installation process.  But when I try to run
python -c "import gtk"
I get the following error:

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/gtkdfb/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 
45, in ?
    from _gtk import *
ImportError: /usr/gtkdfb/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so: 
undefined symbol: gdk_keyval_convert_case


Which, to me, looks like it's a linker / shared-object error.  I've
checked the gdk library installed in /usr/gtkdfb/lib, and there's a
symbol that looks almost equal to the "undefined" one:

$> nm libgdk*so |grep convert_case
000184ca t IA__gdk_keyval_convert_case

But it has an "IA__" prefix.  I'm not an expert on shared object
linking.  Is this normal?  Does anyone have any hints as to what I
should investigate next?

Thanks,

Shandy

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to