现在的位置: 首页 > 综合 > 正文

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

2013年11月22日 ⁄ 综合 ⁄ 共 346字 ⁄ 字号 评论关闭

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

 

解决方法

apt-get install zlib1g-dev 


apt-cache search zlib dev 

参考:http://ubuntuforums.org/showthread.php?t=692704

抱歉!评论已关闭.