Hello! (Cc'd as you don't seem to be subscribed to the mailing list.)
On Sat, Nov 01, 2025 at 03:57:57PM -0700, [email protected] wrote: > trying to build freenginx 1.19.2 from source, I get the following errors: Current version is freenginx 1.29.2, not 1.19.2. Building with OpenSSL 3.0 should work fine starting with nginx 1.21.2: Changes with nginx 1.21.2, 31 Aug 2021 ... *) Feature: OpenSSL 3.0 compatibility. ... > cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I > src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ > -o objs/src/event/ngx_event_openssl.o \ > src/event/ngx_event_openssl.c > src/event/ngx_event_openssl.c: In function ‘ngx_ssl_load_certificate_key’: > src/event/ngx_event_openssl.c:729:9: error: ‘ENGINE_by_id’ is deprecated: > Since OpenSSL 3.0 [-Werror=deprecated-declarations] > 729 | engine = ENGINE_by_id((char *) p); > | ^~~~~~ If you really need to build 1.19.2, an obvious fix would be to use ./configure --with-cc-opt="-Wno-error" so warnings like this won't be fatal. Hope this helps. [...] -- Maxim Dounin http://mdounin.ru/
