在编译postgresql源码时出现以下的错误
**********
checking for library containing shmget... none required
checking for library containing readline... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.
解决方式
(1)卸载原有的readline
(2)安装readline-devel包即可解决
rpm -qa | grep readline
rpm -e readline-6.2-11.el7.x86_64
yum -y install -y readline-devel
|