首页 > 编译php5.6 Don't know how to define struct flock on this system

编译php5.6 Don't know how to define struct flock on this system

错误:Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp(加密算法扩展库)是手动编译的,这个怎么办呢?



引用自http://www.mamicode.com/info-detail-1096994.html
解决方法一:

查看php官方文档解决. 在configure 里面加上 --with-libdir=lib64

解决方法二:

编辑/etc/ld.so.conf

根据系统,加入include /etc/ld.so.conf,

然后执行ldconfig,使其重新加载一次;(如果出错改为vi /etc/ld.so.conf >> include /usr/local/libmcrytp/lib/)

【热门文章】
【热门文章】