I have a problem where I need to support two different versions of a set
of proprietary libraries (read: I don't have the source code so I can't
recompile / relink them).
I intend to do so by installing both versions in my yocto image with
versioned filenames (samplelibrary.so.2.0.0 and such) and detecting at
runtime which version I should use (only one version will ever be used
at the same time) and then symlink them to a non-versioned filename
(samplelibrary.so). I need to do this because the libraries are linked
amongst themselves to non-versioned filenames.
However, since they're linked against non-versioned filenames and I'm
shipping versioned filenames that means I get errors such as:
"nothing provides somelib1.so()(64bit) needed by
package-with-a-lot-of-libs"
Is there any way I can possibly ignore this error?
I'd also like to add that I'm aware using patchelf to make libs be
linked against versioned filenames would be much cleaner, and I did try
that, but for some reason when I do that with the libs and with a few
binaries these packages ship, they all get corrupted/bugged somehow and
I get some symbol lookup errors when trying to run the binaries.
Thanks in advance.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48936): https://lists.yoctoproject.org/g/yocto/message/48936
Mute This Topic: https://lists.yoctoproject.org/mt/72571976/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-