Linux 源碼安裝 PostgreSql “ configure: error: readline library not found”

安裝版本 :postgresql-9.4.4 (應該是目前穩定最新版本)

.configure --prefix=/usr/目錄


其中報錯:

configure: error: readline library notfound
If you have readline already installed, see config.log for detailson the
failure.  It is possible the compiler isnt lookingin the proper directory.
Use --without-readline to disable readlinesupport.


於是我檢查了 readline 

rpm -ql readline

標識其中已經安裝



於是嘗試搜索了下readline 是否還有其他的包



發現readline 還有一些其他的工具


然後再次查看是否安裝過搜索出來的包,發現並沒有安裝。


然後嘗試安裝第一個   readline-devel 的包


安裝後重新  ./configure



成功!






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