[yocto] directory doesn't contain library

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Mon Mar 13 09:01:11 PDT 2017


On Mon, 2017-03-13 at 10:32 +0100, Sven Schönfeld wrote:
> 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
> 
>  

Take a look at the cairo recipe. The recipes creates several packages,
so on the IMAGE_INSTALL_append variable you need to append those "cairo
cairo-gobject ..."



> 
> 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
> 
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto





More information about the yocto mailing list