maintainer-feedback requested: [Bug 265354] www/apache24 with OpenSSL, httpd using base, mod_ssl using ports.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Jul 2022 09:56:00 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-apache (Nobody)
<apache@FreeBSD.org> for maintainer-feedback:
Bug 265354: www/apache24 with OpenSSL, httpd using base, mod_ssl using ports.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265354



--- Description ---
Hi Maintainer.

OpenSSL version of base: 1.1.1o

Today, upgrade www/apache24 under ports version of openssl-1.1.1q,1
(DEFAULT_VERSIONS+=ssl=openssl @ /etc/make.conf)

But got error message when start as follows.
    [Thu Jul 21 15:00:02.154970 2022] [ssl:warn] [pid 84474:tid 34378686464]
AH01882: Init: this version of mod_ssl was compiled against a newer library
(OpenSSL 1.1.1q  5 Jul 2022, version currently loaded is OpenSSL 1.1.1o-freebsd
 3 May 2022) - may result in undefined or erroneous behavior

mod_ssl.so using base version of openssl as follows, it is correct.
# ldd /usr/local/libexec/apache24/mod_ssl.so
	libssl.so.11 => /usr/local/lib/libssl.so.11 (0x8014c6000)
	libcrypto.so.11 => /usr/local/lib/libcrypto.so.11 (0x801e00000)

But httpd using base version of openssl as follows.
# ldd /usr/local/sbin/httpd 
	libssl.so.111 => /usr/lib/libssl.so.111 (0x800a80000)
	libcrypto.so.111 => /lib/libcrypto.so.111 (0x800b18000)

I checked variable ${OPENSSLBASE} = /usr/local @ Makefile
Tried to remove/install both devel/apr1 and www/apache24 does not fix.

Thanks a lot.