源码编译PHP提示zip错误

本文来源: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
posted @ 2016-12-31 23:22  1011110  阅读(934)  评论(0编辑  收藏  举报