On Wed, 2015-06-24 at 01:55 -0700, Robert Yang wrote:
> Updated 0001-Add-P-prompt-into-Usage-info.patch.
>
> Signed-off-by: Robert Yang <[email protected]>
> ---
> .../file/0001-Add-P-prompt-into-Usage-info.patch | 6 +++---
> .../file/{file_5.22.bb => file_5.23.bb} | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
> rename meta/recipes-devtools/file/{file_5.22.bb => file_5.23.bb} (81%)
I've noticed an additional problem with the file recipe, specifically
that it tries to run the file it just built (in the -native case) and
this links against libmagic.so. When it runs, it can use
the /usr/lib/libmagic instead of the one in WORKDIR. If you have file
2.22 on your system (e.g. Ubuntu 15.04), you can get an error.
The fix I found was to add an LD_LIBRBARY_PATH to the Makefile:
LD_LIBRARY_PATH=$(top_builddir)/src/.libs $(FILE_COMPILE) -C -m magic
which is ugly but appeared to fix the error I was seeing. There was a
bug a while back I was unable to reproduce and this is likely the cause
of that too, it all depends which version of libmagic you have on your
system.
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core