httpd-2.4.48 SSL_in_init 错误

httpd-2.4.48/support/ab.c:1990: undefined reference to `SSL_in_init'

网上一大堆都是乱说

正解:openssl版本要求是1.1.1

编译的时候只要加上openssl编译完之后的 头文件和库文件就可以了

sudo  ./configure --prefix=/usr/local/httpd --enable-ssl --enable-load-all-modules --enable-mods-shared=all --enable-rewrite CPPFLAGS="-I/usr/local/openssl/include/openssl" LDFLAGS="-L/usr/local/openssl/lib"

原文地址:https://www.cnblogs.com/littlebylittle/p/15339424.html