configure: error: ICU library not found

postgresql ./configure安装编译报错

configure: error: ICU library not found
If you have ICU already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-icu to disable ICU support.

解决方案:

# 查看icu依赖库是否存在
icu-config --version

# 不存在,则需要安装依赖库:输入下面指令,y 确认
yum install libicu-devel

# 重新执行
./configure
posted @ 2024-08-23 17:43  二月雪  阅读(34)  评论(0编辑  收藏  举报