[OE-core] Why does Openssl 1.0.2n use libcrypto.so.1.0.2 and not libcrypto.so.1.0.0?

Alexander Kanavin alex.kanavin at gmail.com
Wed Aug 1 19:47:05 UTC 2018


2018-08-01 20:20 GMT+02:00 Ryan Pabis (pabisr) via Openembedded-core
<openembedded-core at lists.openembedded.org>:
> I have a library that uses libcrypto.so.1.0.0 from openssl 1.0.2n, which is
> the libcrypto.so version if you download the source code to ubuntu 16.04
> from openssl and compile.  However, Yocto Rocko uses the same openssl 1.0.2n
> version but it uses libcrypto.so.1.0.2 and sets the FILERDEPENDS_ to the
> same.  This causes a file_rdeps issue for me because it says
> libcrypto.so.1.0.0()(64bit) is not provided.
>
>
>
> I’ve tried adding, DEPENDS += “openssl” and RPDEPENDS_confd += “openssl”,
> with no luck.  The only way I can get it to compile is if I manually hack my
> library and change from libcrypto.so.1.0.0 to libcrypto.so.1.0.2 (even
> though it was really compiled with libcrypto.so.1.0.0 and that’s the
> libcrypto version of openssl 1.0.2n).
>
>
>
> Can someone please advise?

In which environment was the library built? You generally cannot take
something that was compiled outside of Yocto. Write a recipe that
builds the library from source code, or ask the provider of that
library to do that.

Alex



More information about the Openembedded-core mailing list