当前位置: > CentOS > CentOS故障 >

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

时间:2014-06-23 22:47来源:linux.it.net.cn 作者:IT网

刚在编译安装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 
(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容