Openssl 升级至 3.2.1 后,Apache (2.4.58) 编译失败。在 Amazon Linux 2 上

Openssl 升级至 3.2.1 后,Apache (2.4.58) 编译失败。在 Amazon Linux 2 上

在 Amazon Linux 2 上 Openssl 升级到 3.2.1 后,Apache (2.4.58) 编译失败,请您帮助我解决这个问题。

错误:

/var/tmp/httpd-2.4.58/support/ab.c:2319: undefined reference to `TLS_client_method'
/var/tmp/httpd-2.4.58/support/ab.c:2572: undefined reference to `TLS_client_method'
/var/tmp/httpd-2.4.58/support/ab.c:2650: undefined reference to `OPENSSL_init_ssl'
/var/tmp/httpd-2.4.58/support/ab.c:2651: undefined reference to `OPENSSL_init_ssl'
/var/tmp/httpd-2.4.58/support/ab.c:2660: undefined reference to `SSL_CTX_set_options'
/var/tmp/httpd-2.4.58/support/ab.c:2674: undefined reference to `SSL_CTX_set_ciphersuites'
ab.o: In function `test':
/var/tmp/httpd-2.4.58/support/ab.c:2003: undefined reference to `SSL_in_init'
collect2: error: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/var/tmp/httpd-2.4.58/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/httpd-2.4.58/support'
make: *** [all-recursive] Error 1

相关内容