【问题描述】
在编译postgreSQL时,执行 configure过程中报以下错误“configure: error: readline library not found”:

【解决方法】
1、安装readline相关依赖
1)检查系统是否已安装readline
rpm -qa | grep readline

2)通过 yum 搜索相关的readline 相关包
yum search readline

3)安装readline-devel依赖包
yum -y install -y readline-devel
4)检查readline-devel是否安装成功
rpm -qa | grep readline

5)返回postgreSQL编译路径,再次执行congfigure
./congfigure
2、执行configur时增加--without-readline参数
./congfigure --without-readline
【注】:readline是命令行编辑,该方法执行后就不可以在命令行里面输入了,不建议使用此方法。
【问题描述】
在编译postgreSQL时,执行 configure过程中报以下错误“configure: error: readline library not found”:
【解决方法】
1、安装readline相关依赖
1)检查系统是否已安装readline
rpm -qa | grep readline
2)通过 yum 搜索相关的readline 相关包
yum search readline
3)安装readline-devel依赖包
yum -y install -y readline-devel
4)检查readline-devel是否安装成功
rpm -qa | grep readline
5)返回postgreSQL编译路径,再次执行congfigure
./congfigure
2、执行configur时增加--without-readline参数
./congfigure --without-readline
【注】:readline是命令行编辑,该方法执行后就不可以在命令行里面输入了,不建议使用此方法。