安装httpd时出现“No recognized SSL/TLS toolkit detected”错误解决

刚在编译安装httpd时出现“No recognized SSL/TLS toolkit detected”错误:

[root@server httpd-2.2.22]# ./configure --prefix=/usr/local/apache-2.2.22

--enable-headers

--enable-mime-magic

--enable-proxy

--enable-so

--enable-rewrite

--enable-ssl

--enable-suexec

--with-included-apr

--with-mpm=prefork

--with-ssl=/usr

--disable-userdir

--disable-cgid

--disable-cgi

........................................... .......................................

checking for SSL/TLS toolkit base... /usr

  adding"-I/usr/include"to CPPFLAGS

  adding"-I/usr/include"to INCLUDES

  adding"-L/usr/lib"to LDFLAGS

checking for OpenSSL version... checking openssl/opensslv.h usability... no

checking openssl/opensslv.h presence... no

checking for openssl/opensslv.h... no

checking openssl/ssl.h usability... no

checking openssl/ssl.h presence... no

checking for openssl/ssl.h... no

no OpenSSL headers found

checking for SSL-C version... checking sslc.h usability... no

checking sslc.h presence... no

checking for sslc.h... no

no SSL-C headers found

configure: error: ...No recognized SSL/TLS toolkit detected 


解决办法,安装openssl

 

[root@server httpd-2.2.22]# yum install openssl* 

再重新编译就没出现错误了


config.status: creating support/log_server_status

config.status: creating support/logresolve.pl

config.status: creating support/phf_abuse_log.cgi

config.status: creating support/split-logfile

config.status: creating build/rules.mk

config.status: creating build/pkg/pkginfo

config.status: creating build/config_vars.sh

config.status: creating include/ap_config_auto.h

config.status: executing default commands


郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。