Собственно сабж.
Компилируется, но в некоторый момент выдает ошибку:
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -DGDK_PIXBUF_DISABLE_DEPRECATED -march=corei7 -mtune=corei7 -O2 -pipe -mmmx -msse4.2 -ftracer -mfpmath=sse,387 -Wall -Wl,-O1 -Wl,--as-needed -o .libs/test-gdk-pixbuf test-gdk-pixbuf.o -pthread ./.libs/libgdk_pixbuf-2.0.so -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lpng14 -lm -pthread
g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGDK_PIXBUF_DISABLE_DEPRECATED -march=corei7 -mtune=corei7 -O2 -pipe -mmmx -msse4.2 -ftracer -mfpmath=sse,387 -Wall -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng14 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspect4ncBLB/GdkPixbuf-2.0.o /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspect4ncBLB/GdkPixbuf-2.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc -o /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspect4ncBLB/GdkPixbuf-2.0 -export-dynamic -DGDK_PIXBUF_DISABLE_DEPRECATED -march=corei7 -mtune=corei7 -O2 -pipe -mmmx -msse4.2 -ftracer -mfpmath=sse,387 -Wall -L. libgdk_pixbuf-2.0.la -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/x11-libs/gdk-pixbuf-2.24.0/work/gdk-pixbuf-2.24.0/gdk-pixbuf/tmp-introspect4ncBLB/GdkPixbuf-2.0.o
gdk-pixdata.c:627: Warning: GdkPixbuf: gdk_pixdata_to_csource: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
gdk-pixdata.c:411: Warning: GdkPixbuf: gdk_pixbuf_from_pixdata: return value: Missing (transfer) annotation
/usr/bin/g-ir-compiler --includedir=. GdkPixbuf-2.0.gir -o GdkPixbuf-2.0.typelib
/usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
make[4]: *** [GdkPixbuf-2.0.typelib] Ошибка 127
Пересборка libffi не помогает, если ставить старые версии gdk-pixbuf (2.23.5 и 2.22.1-r2) ошибка та же.
dev-libs/libffi-3.0.10 USE="static-libs -debug -test"
x11-libs/gdk-pixbuf-2.24.0 USE="X introspection -debug -doc -jpeg -jpeg2k -test -t
# whereis libffi.so.6
libffi.so: /usr/lib/libffi.so /usr/lib/libffi.so.5 /usr/lib64/libffi.so /usr/lib64/libffi.so.5iff"
Можна ли создать ссылку с libffi.so.5 на libffi.so.6?
Gentoo ~amd64, gcc4.6.1