ubuntu php源碼安裝 configure: error: Cannot find OpenSSL's

 

ubuntu安裝好openssl後,編譯php還是提示這個錯誤,百度找了幾篇博客都沒用,只能翻牆 谷歌了 參考:https://serverfault.com/questions/415458/how-to-solve-configure-error-cannot-find-openssl

apt-get install libssl-dev libsslcommon2-dev

但還是報錯誤

configure: error: png.h not found.

繼續掙扎。。。。

apt-get install  libpng-dev

接着報錯:

 Please reinstall the mysql distribution

提示先安裝mysql  好吧

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