安装postgreSQL出现configure: error: zlib library not found解决方法

来源:互联网 发布:软件项目开发报告 编辑:程序博客网 时间:2024/04/30 14:21

安装postgreSQL出现configure: error: zlib library not found解决方法

./configure --prefix=/usr/local/pgsql

.....

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

 

解决方法

yum install zlib-devel;