[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

liblua5.1-gtk-0 problem



I have installed Gtk binding for Lua
liblua5.1-gtk-dev
liblua5.1-gtk-0
from Lenny DVDs. I also have Lua interpreter and dev libraries
lua5.1
liblua5.1-0
liblua5.1-0-dev

When I try to run example program this is the error:

$ /usr/share/doc/liblua5.1-gtk-dev/examples/window.lua
[gtk] Can't load dynamic library /usr/lib/libgtk-x11-2.0.so
[gtk] Can't load dynamic library /usr/lib/libatk-1.0.so
[gtk] Can't load dynamic library /usr/lib/libgtkhtml-2.so
[gtk] symbol g_type_fundamental not found in dynamic library.
[gtk] symbol g_slice_set_config not found in dynamic library.
<... snipped many similar lines ...>
[gtk] symbol g_assertion_message not found in dynamic library.
[gtk] symbol gtk_tree_model_get_value not found in dynamic library.
[gtk] ERROR - an unavailable function 

It seems that some libs can not be found but they are installed too:

$ dlocate libgtk-x11-2.0.so
libgtk2.0-0: /usr/lib/libgtk-x11-2.0.so.0.1200.12
libgtk2.0-0: /usr/lib/libgtk-x11-2.0.so.0

$ dlocate libatk-1.0.so
libatk1.0-0: /usr/lib/libatk-1.0.so.0.2209.1
libatk1.0-0: /usr/lib/libatk-1.0.so.0

$ dlocate libgtkhtml-2.so
libgtkhtml2-0: /usr/lib/libgtkhtml-2.so.0.0.0
libgtkhtml2-0: /usr/lib/libgtkhtml-2.so.0

I can not think of anything why is example program not able
to run. Do I need to install something else?

I find it funny that liblua5.1-gtk-0 package does not depend
on any of the gtk or lua packages. It only recommends
libgtkhtml2-0 and liblua5.1-socket2

As far as I can tell none of the package liblua5.1-* apart of liblua5.1-dev
actually depend on liblua5.1 package. Isn't this an packaging error?

Martin


Reply to: