剛在編譯安裝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 LDFLAGSchecking for OpenSSL version... checking openssl/opensslv.h usability... nochecking openssl/opensslv.h presence... nochecking for openssl/opensslv.h... nochecking openssl/ssl.h usability... nochecking openssl/ssl.h presence... nochecking for openssl/ssl.h... nono OpenSSL headers foundchecking for SSL-C version... checking sslc.h usability... nochecking sslc.h presence... nochecking for sslc.h... nono SSL-C headers foundconfigure: 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