* directory doesn't contain library
@ 2017-03-13 9:32 Sven Schönfeld
2017-03-13 15:22 ` Leonardo Sandoval
2017-03-13 16:01 ` Leonardo Sandoval
0 siblings, 2 replies; 3+ messages in thread
From: Sven Schönfeld @ 2017-03-13 9:32 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1973 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 5789 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: directory doesn't contain library
2017-03-13 9:32 directory doesn't contain library Sven Schönfeld
@ 2017-03-13 15:22 ` Leonardo Sandoval
2017-03-13 16:01 ` Leonardo Sandoval
1 sibling, 0 replies; 3+ messages in thread
From: Leonardo Sandoval @ 2017-03-13 15:22 UTC (permalink / raw)
To: Sven Schönfeld; +Cc: yocto
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“
are you using '„' or '"'? the later is the correct one.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: directory doesn't contain library
2017-03-13 9:32 directory doesn't contain library Sven Schönfeld
2017-03-13 15:22 ` Leonardo Sandoval
@ 2017-03-13 16:01 ` Leonardo Sandoval
1 sibling, 0 replies; 3+ messages in thread
From: Leonardo Sandoval @ 2017-03-13 16:01 UTC (permalink / raw)
To: Sven Schönfeld; +Cc: yocto
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-13 15:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13 9:32 directory doesn't contain library Sven Schönfeld
2017-03-13 15:22 ` Leonardo Sandoval
2017-03-13 16:01 ` Leonardo Sandoval
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.