From: Martin on 11 Mar 2010 23:10 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 -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100312032505.GE2601(a)alfa
From: Florian Kulzer on 12 Mar 2010 19:00 On Fri, Mar 12, 2010 at 04:25:05 +0100, Martin wrote: > 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 have no experience with lua, but your error messages seem to tell me that the libraries cannot be loaded because they have undefined symbols that the linker cannot find anywhere else. > I can not think of anything why is example program not able > to run. Do I need to install something else? You are missing some pretty elementary things, such as g_type_fundamental, which should be provided by a library from libglib2.0-0. This package is a dependency of libgtkhtml2-0, so it should be present on your system. Please post the output of: dpkg -l libgtkhtml2-0 | awk '/^[^D|+]/{print $1,$2,$3}' nm -D /usr/lib/libgobject-2.0.so.0 | grep g_type_fundamental ldconfig -pNX | grep libgobject-2.0.so.0 -- Regards, | Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100312233455.GA8372(a)isar.localhost
From: Martin on 13 Mar 2010 00:10 On Sat, Mar 13, 2010 at 12:34:55AM +0100, Florian Kulzer wrote: > On Fri, Mar 12, 2010 at 04:25:05 +0100, Martin wrote: > I have no experience with lua, but your error messages seem to tell me > that the libraries cannot be loaded because they have undefined symbols > that the linker cannot find anywhere else. > > > I can not think of anything why is example program not able > > to run. Do I need to install something else? > > You are missing some pretty elementary things, such as > g_type_fundamental, which should be provided by a library from > libglib2.0-0. This package is a dependency of libgtkhtml2-0, so it > should be present on your system. Please post the output of: > > dpkg -l libgtkhtml2-0 | awk '/^[^D|+]/{print $1,$2,$3}' > nm -D /usr/lib/libgobject-2.0.so.0 | grep g_type_fundamental > ldconfig -pNX | grep libgobject-2.0.so.0 Here are outputs: $ dpkg -l libgtkhtml2-0 | awk '/^[^D|+]/{print $1,$2,$3}' ii libgtkhtml2-0 2.11.1-2 $ nm -D /usr/lib/libgobject-2.0.so.0 | grep g_type_fundamental 00021c90 T g_type_fundamental 000230d0 T g_type_fundamental_next $ /sbin/ldconfig -pNX | grep libgobject-2.0.so.0 libgobject-2.0.so.0 (libc6) => /usr/lib/libgobject-2.0.so.0 Does anybody successfuly use liblua5.1-gtk-0 ? Martin -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100313034534.GG2605(a)alfa
|
Pages: 1 Prev: If you use DRDB ... dont update / upgrade your kernel Next: need help with xorg.conf |