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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100312233455.ga8...@isar.localhost

Reply via email to