Re: dnf fail in do_rootfs cannot find shared library

Måns Zigher <mans.zigher@...>


I have verified that the so-lib file is part of the rpm package and I am using INSANE_SKIP where I have added dev-so but I am willing to try anything right now so thanks. The so-files is not something I have control of it is something that is delivered to us.

Måns Zigher

Den ons 23 jan. 2019 kl 10:12 skrev Einar Vading <yocto-ml@...>:

I'm not sure this is your problem but if you don't version your
so-libs you could get this since the .so (without version) is not
shipped by default I think.

Try putting this in your recipe:
SOLIBS = ".so*"
ERROR_QA_remove = "dev-so"

If that works I think the proper solution is to give your so-lib a version.

// Einar

On Tue, Jan 22, 2019 at 6:00 PM Måns Zigher <mans.zigher@...> wrote:
> Hi,
> I am struggling with a recipe which more or less just downloads binaries and creating a package. We have previously been using ipkg but now we have switched to rpm in our builds. One of the binaries in the packages is a library let's call it This library is part of the package that the recipe is producing. The library is placed under /usr/lib/. When building the image I am getting the following error
> ERROR: base-image-1.0-r0 do_rootfs: Could not invoke dnf. Command
> .....
> ...
> Error:
>  Problem: package packagegroup-x-media-1.0-r11.noarch requires x_media, but none of the providers can be installed
>   - conflicting requests
>   - nothing provides needed by x_media-1.0-r44.imx8mq
> ERROR: base-image-1.0-r0 do_rootfs: Function failed: do_rootfs
> Here is the output from running the command file on the library
> usr/lib/ ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, stripped
> I have also verified that the library is part of the produced rpm so that is not the issue.
> Dose anyone have any suggestion on how to debug this problem? Because I am out of ideas
> BR
> Måns Zigher
> --
> _______________________________________________
> yocto mailing list
> yocto@...

Join to automatically receive all group messages.