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

From: Moin Rahman <bofh_at_freebsd.org>
Date: Sat, 29 Jul 2023 08:05:59 UTC

> On Jul 27, 2023, at 9:54 PM, Hiroo Ono <hiroo@oikumene.net> wrote:
> 
> Hello,
> 
> On Thu, 27 Jul 2023 17:09:36 +0200
> Moin Rahman <bofh@freebsd.org> wrote:
> 
>>>> ./mail/datovka/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L"
>> Ouch it hurts and I am sorry for that. I will try to fix this at the
>> latest on next Monday.
> 
> By the way, what is this OPENSSL_API_COMPAT is for?
> If the software supports OpenSSL 3 properly, can it be deleted?
> 
> https://github.com/mongodb/mongo-c-driver/commit/72cba009ec70fd734dc76426c5385487a1c6930d

Yes once it works properly this can be deleted. It more or less does the same thing the patch has done.

By the by I have fixed the typos.

Kind regards,
Moin
>>>> ./mail/archiveopteryx/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L "
>>>> ./news/nzbget/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L"
>>>> ./devel/ucommon/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L"
>>>> ./devel/thrift-c_glib/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L "
>>>> ./security/git-crypt/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L "
>>>> ./databases/xrootd/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L" ./lang/php80/Makefile:CXXFLAGS+=
>>>>       -DOPENSSL_API_COMPAT=0x30000000L"
>>>> ./net/asterisk18/Makefile:CFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L"
>>>> ./sysutils/istatserver/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L "
>>>> ./www/lagrange/Makefile:CXXFLAGS+=
>>>> -DOPENSSL_API_COMPAT=0x30000000L"
> 
> ---
> Hiroo Ono
> 
>