On Sun, 2021-10-03 at 01:55 +0000, Lijun Chen wrote:
Hi,
When I build a yocto image, I added some packages into IMAGE_INSTALL, such as boost, thrift, etc. I notice in the target OS image, the shared libs don't the symlinks. But in the SDK image, the symlinks are there. For example, lrwxrwxrwx 1 root root 22 Oct 2 16:41 libboost_filesystem-mt.so -> libboost_filesystem.so lrwxrwxrwx 1 root root 29 Oct 2 16:41 libboost_filesystem.so -> libboost_filesystem.so.1.75.0
Is there a way to add the symlinks to the target image as well? With the symlinks, I assume we can run an old application even the dependent lib is a newer version?
The symlinks will be in the XXX-dev packages so boost-dev probably has them for boost. They aren't needed on target unless you're compiling things which is why they're separated out.