[yocto] pkg-config does not find "luajit" since upgrade to sumo

Clemens Eisserer linuxhippy at gmail.com
Thu Mar 28 17:54:47 PDT 2019


Hello Burton,

> Check what luajit is shipping and compare that to what the pkgconfig
> is looking for.  Calling pkgconfig directly in your recipe's devshell
> is useful for this.

Thanks for the hint regarding the devshell.

Indeed, pkgconfig can not find luajit in the devshell - the path
specified as PKG_CONFIG_PATH is:
build/tmp-angstrom-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/xpcompiler/0.1-r0/recipe-sysroot/usr/lib/pkgconfig
- however the folder pkgconfig does not even exist in there.

Inside work/armv7.../ there is also a luajit directory, and there I
was able to find the pc-file:
/2.0.5-r0/sysroot-destdir/usr/lib/pkgconfig/luajit.pc

So i wonder, are there some extra steps required to make the luajit
sysroot-destdir visible to luajit's recipe-sysroot?

Thanks & br, Clemens


More information about the yocto mailing list