[yocto] directory doesn't contain library

Sven Schönfeld sven.schoenfeld at automationselektronik.de
Mon Mar 13 02:32:05 PDT 2017


Dear Yocto-Community
 
I´m trying to create an image containing gnash_0.8.7.bb with yocto morty (2.2.1) and bitbake 1.32.0. I added the folders to my bblayers.conf and included the recipe for gnash in my local.conf file.
 
In my bblayers.conf :
 
...
BBLAYERS = " \
                ...
                \
                ${BSPDIR}/sources/meta-qt5 \
                ${BSPDIR}/sources/meta-SFA \
                "
 
In my local.conf:
 
...
IMAGE_INSTALL_append = " cairo gnash"
 
LICENSE_FLAGS_WHITELIST = "commercial_ffmpeg commercial_libav commercial_x264"
 
Now when I try to bitbake my image, I receive the following error:
 
| checking for libatk library... -latk-1.0
| checking for cairo.h header in specified directory... yes
| checking for libcairo library in specified directory... configure: error: /home/name/yocto/build/tmp/sysroots/sfa2/usr/lib directory doesn´t contain library cairo.
| ERROR: Function failed: do_configure (log file is located at /home/name/yocto/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/gnash/0.8.7-r0/temp/log.do_configure.2556)
 
Obviously it can´t find the library in the directory. However, when I check the directory in my file browser, I find a folder named cairo as well as several files called libcairo-* (see below).
 
cairo
cairo/libcairo-trace.so.0
cairo/libcairo-trace.so
cairo/libcairo-trace.la
cairo/libcairo-trace.so.0.0.0
 
libcairo-gobject.la
libcairo-gobject.so
libcairo-gobject.so.2
libcairo-gobject.so.2.11400.6
libcairo-script-interpreter.la 
libcairo-script-interpreter.so 
libcairo-script-interpreter.so.2
libcairo-script-interpreter.so.2.11400.6
libcairo.la
libcairo.so 
libcairo.so.2
libcairo.so.2.11400.6
 
As I´m pretty new to yocto I don´t really understand why this error occurs. Searching the web didn´t bring up anything helpful so I´m asking you for help. Please light my path and tell me how I can fix this error.
 
Thanks in advance
 
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170313/7a69a433/attachment.html>


More information about the yocto mailing list