Re: liblegacy.a does not work unless compiled with -static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK I see, thanks.

On Fri, May 1, 2020 at 6:27 PM Matt Caswell <matt@xxxxxxxxxxx> wrote:
liblegacy.a is an internal artifact! You're not supposed to link your
applications against it!

You are supposed to link against libcrypto normally. If legacy.so isn't
in the default install location then make sure the OPENSSL_MODULES
environment variable is pointing at its directory.

Matt


On 01/05/2020 17:14, Guido Vranken wrote:
> When I configure using "./config enable-legacy" it creates
> providers/liblegacy.a, then in the program I link with it,
> OSSL_PROVIDER_load fails (returns NULL).
>
> When I configure using "./config enable-legacy -static" it works as
> expected.
>
> However, building with -static fails on OSS-Fuzz when building with
> sanitizers, and I need the .a file instead of the .so file for fuzzing.
>
> So, is it possible to configure using "./config enable-legacy" and have
> a working liblegacy.a? Is this a bug?
>
> Thanks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux