[Bug 2078058] Re: Missing function implementations in libssl.so.3 and .a
Simon Chopin
2078058 at bugs.launchpad.net
Wed Aug 28 16:22:08 UTC 2024
Hi,
Thanks for taking the time to report this issue.
Presumably, your boost.asio was not built against the libssl-dev headers
provided in Ubuntu, since in that version those function names aren't
provided as symbols but rather as preprocessor aliases to the more
modern TLS_* alternatives (see
https://docs.openssl.org/3.0/man3/SSL_CTX_new/#notes).
In other words, OpenSSL 3.0 breaks the ABI, so binaries linking against
it need to be recompiled (and their code might need some tweaking). We
did so for all binaries within the Ubuntu archive. Given that the oldest
Boost version we shipped in Jammy is 1.74, the binaries at fault here
come from somewhere else, please contact that provider to ask them to
give you a version built against libssl3.
** Changed in: openssl (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/2078058
Title:
Missing function implementations in libssl.so.3 and .a
Status in openssl package in Ubuntu:
Invalid
Bug description:
Description: Ubuntu 22.04.2 LTS
Release: 22.04
openssl:
Installed: 3.0.2-0ubuntu1.17
Candidate: 3.0.2-0ubuntu1.17
Version table:
*** 3.0.2-0ubuntu1.17 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
100 /var/lib/dpkg/status
3.0.2-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Expected behavior:
Building an app that uses boost.asio (1.28.0 or any >=1.10.9) with SSL support will succeed.
Unexpected behavior:
Building an app that uses boost.asio (1.28.0 or any >=1.10.9) with SSL support results in undefined symbols at link time.
Ubuntu openssl 3.0.2 and 3.0.7 provide libssl.so.3 (and .a) that lacks
6 function implementations:
SSL_CTX_set_max_proto_version
SSL_CTX_set_min_proto_version
SSL_set_mode
SSLv23_client_method
SSLv23_method
SSLv23_server_method
although they are declared in the openssl ssl.h header file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2078058/+subscriptions
More information about the foundations-bugs
mailing list