php源码安装执行configure报错error: off_t undefined; check your library configuration

php安装执行configure报错error: off_t undefined; check your library configuration

vim /etc/ld.so.conf

添加如下几行

/usr/local/lib64
/usr/local/lib
/usr/lib
/usr/lib64 
#保存退出
:wq
ldconfig -v # 使之生效

转载于:https://www.cnblogs.com/luwz/p/11471178.html

你可能感兴趣的:(php源码安装执行configure报错error: off_t undefined; check your library configuration)