[yocto] pkg-config does not find "luajit" since upgrade to sumo
ross.burton at intel.com
Fri Mar 29 03:23:41 PDT 2019
All I can say is stop digging around random paths and actually ask the
system the questions you need answers to.
- Does my recipe depend on luajit.
Check that you have DEPENDS=luajit.
- What files does luajit ship.
$ oe-pkgdata-util list-pkg-files -p luajit
Does that include a /usr/lib/pkgconfig/luajit.pc?
On Fri, 29 Mar 2019 at 00:55, Clemens Eisserer <linuxhippy at gmail.com> wrote:
> 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:
> - 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:
> 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