Hi Greg,

On Mon, Sep 21, 2020 at 09:46:51PM +0000, Greg Wilson-Lindberg wrote:
> 
>  I have a custom recipe that copies a .so, that libMotors.so calls functions 
> in another libcanfestival.so.
> 
> When I first added in the copy of the .so
> I didn't have an RDEPENDS and Yocto printed out an warning listing the 
> package that it wanted. I added an RDEPENDS_${PN} 
> with all of the packages listed, but I'm still getting an error for the first 
> libMotors.so:
> 
> ERROR: userconfig-1.0-r0 do_package_qa: QA Issue: 
> /home/sakura/lib/libMotors.so.1.0.0 contained in package userconfig requires 
> libcanfestival.so, but no providers found in RDEPENDS_userconfig? [file-rdeps]
> 
> In userdepends I added:
> 
> RDEPENDS_${PN} += "canfestival libelf libgcrypt pcsc-lite-lib qtbase 
> qtdeclarative qtserialport zint"
> 
> Package canfestival_3-asc in has:
> 
> FILES_${PN} = "/usr/lib/libcanfestival.so /usr/lib/libcanfestival_unix.so 
> /usr/lib/libcanfestival_can_socket.so"
> 

.so files are installed in the -dev package even with the line above.

Please have a look here: 
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Packaging_Prebuilt_Libraries#Non-versioned_Libraries
if there is really no way for you to avoid having a non-versioned library.

You can check if .so files are part of a package by using
`oe-pkgdata-util find-path /usr/lib/libcanfestival.so`

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#50764): https://lists.yoctoproject.org/g/yocto/message/50764
Mute This Topic: https://lists.yoctoproject.org/mt/77000761/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to