安裝httpd時出現“No recognized SSL/TLS toolkit detected”錯誤解決

來源:互聯網
上載者:User

剛在編譯安裝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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.