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

Ryan Pabis (pabisr) pabisr at cisco.com
Wed Aug 1 20:35:20 UTC 2018


Alex,

The library was precompiled by tail-f but I've also recompiled on Ubuntu 16.04 with openssl 1.0.2n.  In both cases the library crypto.so and libconfd.so refer to libcrypto.so.1.0.0.

Having a pre-compiled library worked on krogoth and morty, but does not seem to work on rocko.

Ryan

On 8/1/18, 3:47 PM, "Alexander Kanavin" <alex.kanavin at gmail.com> wrote:

    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