[yocto] gdk-pixbuf does not install libraries

Pierre-Olivier Huard pierre-olivier.huard at twiga-web.com
Fri Sep 15 07:23:32 PDT 2017


Hello,

I already posted my question on SO, but with no success, so I'll try here.

I'm working on a custom board with iMX6 Quad, on Yocto 2.1.2 (Krogoth 
branch), I tested on a more recent version, 2.3.1, and the result is the 
same.
My main goal is to use gdkpixbufoverlay Gstreamer element on my board. 
This is my error:

gst-launch-1.0 videotestsrc ! gdkpixbufoverlay location=image.png ! fakesink

(gst-launch-1.0:441): GdkPixbuf-WARNING **: Cannot open pixbuf loader 
module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file 
or directory

This likely means that your installation is broken.
Try running the command
   gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element 
/GstPipeline:pipeline0/GstGdkPixbufOverlay:gdkpixbufoverlay0: Could not 
load overlay image.
Additional debug info:
../../../gst-plugins-good-1.6.3/ext/gdk_pixbuf/gstgdkpixbufoverlay.c(508): 
gst_gdk_pixbuf_overlay_start (): 
/GstPipeline:pipeline0/GstGdkPixbufOverlay:gdkpixbufoverlay0:
Couldn't recognize the image file format for file 'image.png'
Setting pipeline to NULL ...
Freeing pipeline ...

So I tried to run the command advised, but I did not work either. I took 
a look at the output:

/usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.32.3
#
# LoaderDir = /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
#

And the output is full of comments.

I checked my configuration on yocto:
# bitbake -e gdk-pixbuf | grep ^PACKAGECONFIG=
PACKAGECONFIG="png jpeg"

So the recipe seems to be correctly configured, but I don't have the 
libraries on the image (eg libpixbufloader-png.so). I've tried to add 
all gtk recipes to my image, but I don't have the lipixbufloader-*.so 
libraries.

Did I miss something on my configuration?

Thank you,
Pierre-Olivier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170915/19dde1b0/attachment.html>


More information about the yocto mailing list