Skip to contentSkip to conversation

Yocto-hardknott build is success with lbpcre2(V10.36) but so files were never copied to /usr/lib/ when the image is flashed #poky #yocto #library #package

DISCUSSION RK25 2 participants 3 messages Jul 5, 2021

lore
Share & tools
lore

RK25

author
#0 lore raw

Hello All,
We tried to upgrade the Yocto version from Dunfell to Hardknott.  After successful build using hardknott, we flashed the generated image to the device. But we don't see the libpcre2 package installed under /usr/lib/ folder.

Below are the missing so files after built and installed/flashed with hardknott :

/usr/lib/libpcre2-8.so.0  /usr/lib/libpcre2-posix.so.2  /usr/lib/libpcre2-8.so.0.9.0  /usr/lib/libpcre2-posix.so.2.0.3

No changes were done in Yocto recipe libpcre2_10.36.bb:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-support/libpcre?h=hardknott

pl share any inputs.

#1 lore raw

How is it being brought into image ? Do you pull it explicitly by IMAGE_INSTALL or is it being pulled n indirectly via rdepends

Quoted 23 lines · On Sun, Jul 4, 2021 at 6:28 PM RK25 <[email protected]> wrote:

Hello All,
We tried to upgrade the Yocto version from Dunfell to Hardknott. After successful build using hardknott, we flashed the generated image to the device. But we don't see the libpcre2 package installed under /usr/lib/ folder.

Below are the missing so files after built and installed/flashed with hardknott :

/usr/lib/libpcre2-8.so.0 /usr/lib/libpcre2-posix.so.2 /usr/lib/libpcre2-8.so.0.9.0 /usr/lib/libpcre2-posix.so.2.0.3

No changes were done in Yocto recipe libpcre2_10.36.bb:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-support/libpcre?h=hardknott

pl share any inputs.

author
#2 lore raw

Yes, it is being pulled indirectly via rdepends