编译PHP 错误

提示错误:

checking for known struct flock definition… configure: error: Don’t know how to define struct flock on this system, set –enable-opcache=no

找不出是那个lib库存在问题,只好用笨办法,把最近的lib环境全部加进去

vi  /etc/ld.so.conf.d/local.conf添加如下内容

/usr/lib64/compat-openmpi-psm/lib

/usr/lib64/qt-3.3/lib

/usr/lib64/compat-openmpi/lib

/usr/lib64/python2.6/site-packages/numpy/lib

/usr/local/libmcrypt/lib

/usr/local/jpeg/lib

/usr/local/ssl/lib

/usr/local/zabbix/lib

/usr/local/lib


你可能感兴趣的:(编译PHP 错误)