Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] 32-bit gdk fail: trying to load 64-bit libpixbufloader-xpm.so
Date: Thu, 14 Aug 2014 14:46:26
Message-Id: lsii2o$9mg$1@ger.gmane.org
1 I've got a 32-bit application that ran fine until a couple weeks ago.
2
3 But, now when I try to run it I get this failure:
4
5 (msb_serv:9939): GdkPixbuf-WARNING **: Error loading XPM image loader: Unable to load image-loading module: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so: wrong ELF class: ELFCLASS64
6 (msb_serv:9939): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed
7 (msb_serv:9939): Gdk-CRITICAL **: IA__gdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed
8
9 The GDK library appears to be trying to load the 64-bit version of
10 libpixbufloader-xpm.so instead of the 32-bit version
11
12 I suspect this has something to do with the recent move to the
13 abi_x86_32 and abi_x86_64 use flags, but I've not been able to make
14 any sense of what google has found me on that topic. I've set those
15 use flags and set ABI_X86="64 32" in make.conf and then re-emerged
16 x11-libs/gdk-pixbuf, but it doesn't help.
17
18 I've verified that I do have both 32 and 64 bit versions of that library:
19
20 # for d in /usr/lib*; do find $d -name 'libpixbufloader-xpm*'; done
21 /usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
22 /usr/lib64/debug/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so.debug
23 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.la
24 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
25
26 Any ideas what changed in the last couple weeks to break 32-bit
27 compatiblity mode for GDK apps?
28
29 --
30 Grant Edwards grant.b.edwards Yow! RHAPSODY in Glue!
31 at
32 gmail.com

Replies

Subject Author
[gentoo-user] Re: 32-bit gdk fail: trying to load 64-bit libpixbufloader-xpm.so Grant Edwards <grant.b.edwards@×××××.com>