Re: devel/mongo-c-driver failed with undefined reference due to --no-allow-shlib-undefined: ERR_load_BIO_strings

From: Yuri <yuri_at_aetern.org>
Date: Sat, 22 Jul 2023 08:28:21 UTC
KIRIYAMA Kazuhiko wrote:
> Hi, list
> 
> devel/mongo-c-driver failed with "undefined reference due to
> --no-allow-shlib-undefined: ERR_load_BIO_strings" in recent
> 14.0-CURRENT (c5312bd79e66:2023-07-18):
[...]
> But in a little old revision (9d6ae1e3c26a:2023-06-04),
> compilation completed. What happen between 9d6ae1e3c26a and
> c5312bd79e66 ? It seems only libssl and libcrypto changed.

Exactly, it's fallout from openssl 3 migration.

From https://www.openssl.org/docs/manmaster/man7/migration_guide.html:
---
ERR_load_*(), ERR_func_error_string(), ERR_get_error_line(),
ERR_get_error_line_data(), ERR_get_state()

OpenSSL now loads error strings automatically so these functions are not
needed.
---

Looks like this needs to be reported upstream.