[yocto] RDEPENDS fails to find an existing package

Autif Khan autif.mlist at gmail.com
Wed Feb 15 15:23:42 PST 2012


> Hello Khem Raj,
>
> On Wed, 2012-02-15 at 07:28 -0800, Khem Raj wrote:
>> the .a files are going into -static package and I guess
>> there is .so and not .so.X which means .so goes into
>> -dev package and hence your libharu package is empty
>> so you have to redirect the files into correct package
>> with the help of FILES_${PN} = "libharu.so ...." etc.
>
> You were right. Thanks for the tip.
>
> Adding FILES_${PN} = "${libdir}/lib*.so" made bitbake to create an
> non-empty libharu package thereby fixing the problem.

Heads up - if you are using 1.2 M2 - you may have to add the following
line in your recipe:

INSANE_SKIP_{PN} = "dev-so"



More information about the yocto mailing list