作者:手机用户2502887763 | 来源:互联网 | 2018-05-21 16:43
搜遍google了也没找到答案,编译出现这个错误
/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
情况和这个一样:https://bugs.php.net/bug.php?id=68302
求解
回复内容:
搜遍google了也没找到答案,编译出现这个错误
/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
情况和这个一样:https://bugs.php.net/bug.php?id=68302
求解
vi /etc/ld.so.conf.d/local.conf //创建local.conf
/usr/local/lib //添加输入
ldconfig -v //执行命令
我按照一楼的方法解决了问题