Wednesday, August 30, 2023

Re: loading mod_ssl in apache-httpd fails with undefined symbols

Hi Theo,

On Tuesday, August 29, 2023 21:53 CEST, Theo Buehler <tb@theobuehler.org> wrote:
 > httpd2:/usr/local/lib/apache2/mod_ssl.so: undefined symbol 'ENGINE_get_first'
> httpd2:/usr/local/lib/apache2/mod_ssl.so: undefined symbol 'ENGINE_get_next'

These were removed in the last libcrypto bump. Does mod_ssl work with
this diff?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/apache-httpd/Makefile,v
retrieving revision 1.124
diff -u -p -r1.124 Makefile
--- Makefile 9 May 2023 20:54:24 -0000 1.124
+++ Makefile 29 Aug 2023 19:50:58 -0000
@@ -3,6 +3,7 @@ COMMENT= apache HTTP server
V= 2.4.57
DISTNAME= httpd-${V}
PKGNAME= apache-httpd-${V}
+REVISION= 0

CATEGORIES= www net

@@ -72,7 +73,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}
AWK=awk \
GREP=grep \
ac_cv_path_RSYNC=no \
- ac_cv_path_SVN=no
+ ac_cv_path_SVN=no \
+ ac_cv_func_ENGINE_init=no

FAKE_FLAGS= rel_user=www rel_group=www \
rel_datadir=${HTTPD_DIR} \
that makes it work.
Initially I had

SSLCryptoDevice builtin

in my /etc/apache2/modules/ssl.conf
and starting apache failed with:

AH00526: Syntax error on line 14 of /etc/apache2/modules/ssl.conf:
Invalid command 'SSLCryptoDevice', perhaps misspelled or defined by a module not included in the server configuration

removing that entry, made apache start up properly.

Sebastian

No comments:

Post a Comment