When gnutls is built with USE="-pkcs11" (the default), mod_gnutls appears to build fine but then Apache fails to load: # apache2ctl -t -DUSERDIR -DPROXY -DGNUTLS apache2: Syntax error on line 122 of /etc/apache2/httpd.conf: Syntax error on line 2 of /etc/apache2/modules.d/47_mod_gnutls.conf: Cannot load modules/mod_gnutls.so into server: /usr/lib64/apache2/modules/mod_gnutls.so: undefined symbol: gnutls_pkcs11_reinit A quick grep -R gnutls_pkcs11_reinit /usr/lib64/ indicates that that symbol name only exists in mod_gnutls.so.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1337bcb30f2ffbdef74e9e667ad7ca3495c3f7 commit bb1337bcb30f2ffbdef74e9e667ad7ca3495c3f7 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-08-19 14:01:30 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-08-19 14:01:46 +0000 www-apache/mod_gnutls: requires net-libs/gnutls[pkcs11] at runtime Closes: https://bugs.gentoo.org/725132 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../{mod_gnutls-0.8.2-r1.ebuild => mod_gnutls-0.8.2-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)