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

From: Hiroo Ono <hiroo_at_oikumene.net>
Date: Thu, 27 Jul 2023 19:54:27 UTC
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

> >> ./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