Comment 44 for bug 369498

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 369498] Re: 32bits gtk and glib modules not found in ia32-libs

On Mon, Sep 07, 2009 at 07:11:52PM -0000, Scott Ritchie wrote:
> So, looking at debian/rules, it seems there is code intending for these
> symlinks to be created, but it isn't working:
>
> sed -i 's,/usr/lib/,/usr/lib32/,g'
> debian/ia32-libs/usr/lib32/gtk-2.0/2.10.0/*.d/*

this replaces text files and should be all right.

>
> dh_link -pia32-libs /usr/lib32/gtk-2.0/2.10.0
> /usr/lib/gtk-2.0/2.10.0/i486-pc-linux-gnu
>

Here we need two links:

  /usr/lib/gtk-2.0/2.10.0/i486-pc-linux-gnu -> /usr/lib32/gtk-2.0/2.10.0/

AND

  /usr/lib/gtk-2.0/i486-pc-linux-gnu -> /usr/lib32/gtk-2.0/

you can check that in gtk/gtkmodules.c in _get_modules_path.

If you say get_modules_path ("engines") you will get
/usr/lib/gtk-2.0/2.10.0/i486-pc-linux-gnu/engines or
/usr/lib/gtk-2.0/2.10.0/engines

If you say get_modules_path ("modules") you will get
/usr/lib/gtk-2.0/i486-pc-linux-gnu/modules or
/usr/lib/gtk-2.0/modules

thx

 - Alexander