Sample Header Ad - 728x90

"-dev package mylib-dev contains non-symlink" error when building lib using Yocto bitbake

1 vote
1 answer
801 views
I am trying to build Linux distribution using Yocto project, the target board is STM32MP157A-DK1 board ,I am using distribution package and meta data delivered by STMicroelectronics for OpenSTLinux. I want to add c++ library based on cmake to my distribution. I crated the recipe using command devtool add --no-same-dir ../pass/to/mylib Then build using bitbake mylib The build is done but I get this error by do_package_qa "do_package_qa: QA Issue: -dev package mylib-dev contains non-symlink .so '/usr/lib/mylib.so' [dev-elf]" what is the reason for such error and how to overcome it?
Asked by Hossam Alzomor (11 rep)
Aug 9, 2023, 05:32 AM
Last activity: Aug 10, 2023, 04:20 PM