mod_ssl_ct cannot find openssl on MacOS
"Graham Leggett via dev" <[email protected]> Wed, 29 Jul 2026 00:01:55 +0100
| Newsgroups | gmane.comp.apache.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, Struggling to get mod_ssl_ct to build on MacOS, for some reason the = OpenSSL version detection doesn't work just for mod_ssl_ct, but does = work for everything else. MacBookPro:httpd-trunk2 minfrin$ CFLAGS=3D"-g -O0 -fsanitize=3Daddress" = ./configure --prefix=3D/tmp/httpd-trunk --enable-mods-shared=3Dreallyall = --with-pcre=3D/opt/local/bin/pcre-config --with-z=3D/opt/local/ = --with-jansson=3D/opt/local/ --enable-exception-hook --with-mpm=3Devent = --enable-mpms-shared=3Dall --with-apr=3D/tmp/httpd-trunk/bin/apr-1-config = --with-apr-util=3D/tmp/httpd-trunk/bin/apu-1-config It breaks like this: checking whether to enable mod_ssl... checking dependencies checking for OpenSSL... checking for user-provided OpenSSL base = directory... none adding "-I/opt/local/libexec/openssl3/include" to CPPFLAGS setting MOD_CFLAGS to "-I/opt/local/libexec/openssl3/include" setting ab_CFLAGS to "-I/opt/local/libexec/openssl3/include" adding "-L/opt/local/libexec/openssl3/lib" to LDFLAGS setting MOD_LDFLAGS to "-L/opt/local/libexec/openssl3/lib" checking for OpenSSL version >=3D 0.9.8a... yes adding "-lssl" to MOD_LDFLAGS adding "-lcrypto" to MOD_LDFLAGS adding "-lpthread" to MOD_LDFLAGS setting LIBS to "-lssl -lcrypto -lpthread" forcing ab_LIBS to "-L/opt/local/libexec/openssl3/lib -lssl -lcrypto = -lpthread" checking for openssl/engine.h... yes checking for SSL_CTX_new... yes checking for OPENSSL_init_ssl... yes checking for ENGINE_init... yes checking for ENGINE_load_builtin_engines... yes checking for RAND_egd... no checking for CRYPTO_set_id_callback... no yes checking if OpenSSL can use &errno as a THREADID... yes setting MOD_SSL_LDADD to "-export-symbols-regex ssl_module" checking whether to enable mod_ssl... shared (reallyall) adding "-I$(top_srcdir)/modules/ssl" to INCLUDES checking whether to enable mod_ssl_ct... checking dependencies checking for OpenSSL version >=3D 1.0.2... configure: error: mod_ssl_ct = requires OpenSSL 1.0.2-beta3 or later. I can skip the problem with --disable-ssl-ct, but ideally it should just = work. Macports shows the following: The following ports are currently installed: openssl @3_27+universal (active) openssl3 @3.5.4_0+universal (active) Regards, Graham --