只为留下点什么

   ::  ::  ::  ::  :: 管理

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"

posted on 2021-09-26 18:10  只为留下点什么  阅读(440)  评论(0编辑  收藏  举报