configure: error: ZLib not installed

时间:2014-05-02 22:38:51   收藏:0   阅读:289

    安装libpng,出现“configure: error: ZLib not installed”。

    解决方法:

    1. 进入ZLib的安装包,不必加--prefix参数命令:

    ./configure
   make && make install 


    2.  进入libpng解压缩包中,输入:

   ./configure  --prefix=/usr/local/libpng
   make && make install

      成功!

configure: error: ZLib not installed,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!