Public bug reported:

The 32-bit GTK+ compatibility libraries shipped with Ubuntu 7.10 appear to be 
missing the svg decoder. This means that decoding some of the stock icons 
shipped with the system fail when running a 32-bit Gnome binary on an amd64 
system. 

I have attached a minimal test case to demonstrate this issue. Build the
program like this:

   gcc -o testgtkicons testgtkicons.c `pkg-config gtk+-2.0 --cflags
--libs`

If you build and run it on a 64-bit system, it should show a window
containing the default icon used with "cancel" buttons in Gnome.
Likewise on a 32-bit system. But if you build it on a 32-bit system and
then try to run it on a 64-bit system, you'll get this error message to
stderr:

(testgtkicons:24211): Gtk-WARNING **: Error loading theme icon 'gtk-
cancel' for stock: Unable to load image-loading module:
/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so:
/usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: cannot open shared
object file: No such file or directory

...and more importantly: the icon will show up as a "broken document"
image since GTK+ couldn't load it.

If you were to copy the following libraries and symlinks from a 32-bit
Ubuntu 7.10 install into the proper lib32 directories on the 64-bit
system, the problem goes away:

   /usr/lib/libcroco-0.6.so.3
   /usr/lib/libcroco-0.6.so.3.0.1
   /usr/lib/libgsf-1.so.114
   /usr/lib/libgsf-1.so.114.0.7
   /usr/lib/librsvg-2.so.2
   /usr/lib/librsvg-2.so.2.18.2
   /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so

...so it seems like these files probably just need to be added to the
ia32-libs-gtk package, if the solution is really that simple.

--ryan.

** Affects: ia32-libs-gtk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Missing gtk+ ia32 compatibility libs break stock icons
https://bugs.launchpad.net/bugs/195928
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to