Skip to content

[Bug]: WolfSSL redefined ERR_load_SSL_strings symbol which is also defined by OpenSSL #8171

@alexsn

Description

@alexsn

Contact Details

alexsn@meta.com

Version

5.7.4

Description

When linking a binary with both openssl and wolfssl I get the following linkage error:

ld.lld: error: duplicate symbol: ERR_load_SSL_strings
>>> defined at ssl_err.c:1278 (src/ssl/ssl_err.c:1278)
>>>            ssl_err.c.pic.o:(ERR_load_SSL_strings) in archive openssl/___ssl__/lib_ssl.pic.a
>>> defined at ssl.c:16468 (./wolfssl/src/ssl.c:16468)
>>>            ssl.c.pic.o:(.text.ERR_load_SSL_strings+0x0) in archive wolfssl/__wolfssl__/libwolfssl.pic.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Reproduction steps

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions