【发布时间】:2017-03-29 03:29:25
【问题描述】:
您好,我正在尝试使用 openssl 版本 1.1.0c 安装 Apache 2.4.23,同时执行 make 命令时出现以下错误,
我搜索了很多网站,但我看不到任何相关的答案。我也附上了错误。你能解决我的问题吗?
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-so --with-ssl=/usr/local/openssl --enable-ssl=shared --with-pcre=/usr/local/pcre/
make
ab.o: In function main': /usr/src/httpd-2.4.23/support/ab.c:2417: undefined reference to `CRYPTO_malloc_init'
collect2: error: ld returned 1 exit status
Makefile:73: recipe for target 'ab' failed
make[2]: \*** [ab] Error 1
make[2]: Leaving directory '/usr/src/httpd-2.4.23/support' /usr/src/httpd-2.4.23/build/rules.mk:75: recipe for target 'all-recursive' failed
make[1]: \*** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/httpd-2.4.23/support' /usr/src/httpd-2.4.23/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
提前致谢
【问题讨论】: