Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2023 10:28:21 +0200
From:      Yuri <yuri@aetern.org>
To:        ports@freebsd.org
Subject:   Re: devel/mongo-c-driver failed with undefined reference due to --no-allow-shlib-undefined: ERR_load_BIO_strings
Message-ID:  <ad7ab6da-9663-51fc-086d-93eaca3e07a5@aetern.org>
In-Reply-To: <202307220652.36M6q6P4091348@kx.truefc.org>
References:  <202307220652.36M6q6P4091348@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad7ab6da-9663-51fc-086d-93eaca3e07a5>