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

转载自:https://www.cnblogs.com/shuaixf/archive/2011/11/29/2268298.html

./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.

 

解决方法


  1. yum install zlib-devel;
posted @ 2018-02-01 17:29  四叶草Grass  阅读(531)  评论(0编辑  收藏  举报