源码编译PHP提示zip错误

时间:2017-01-01 00:01:37   收藏:0   阅读:705
本文来源:https://segmentfault.com/q/1010000002696561

/home/levi/soft/php-5.6.8/ext/zip/lib/zipint.h:118:2: error: #error unsupported size of off_t #error unsupported size of off_t ^ make: *** [ext/zip/lib/zip_add.lo] 错误 1

vi /etc/ld.so.conf.d/local.conf //创建local.conf
/usr/local/lib //添加输入
ldconfig -v //执行命令

然后需要进行make clean
重新configure

原文:http://www.cnblogs.com/succeed/p/6240487.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!