安裝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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章