2023年9月29日
1. 问题概述:
Linux/Ubuntu源码编译安装PostgreSQL,执行
./configure
报错:
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.
2. 相关原因:
未安装 readline 开发包。
3. 解决办法:
检查系统是否安装 readline 包
$ sudo dpkg -l | grep readline
如果没有libreadline-dev,则需安装
$ su…