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



成功!






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