Home  >  Article  >  Backend Development  >  linux - 编译php5.6 Don't know how to define struct flock on this system

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

WBOY
WBOYOriginal
2016-08-04 09:21:301402browse

Error: Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp (encryption algorithm extension library) is compiled manually, what should I do?

Reply content:

Error: Don't know how to define struct flock on this system, set --enable-opcache=no
libmcrytp (encryption algorithm extension library) is compiled manually, what should I do?

Quoted from http://www.mamicode.com/info-detail-1096994.html
Solution 1:

See the official php documentation for solution. Add --with-libdir=lib64 in configure

Solution 2:

Edit /etc/ld.so.conf

According to the system, add include /etc/ld.so.conf,

Then execute ldconfig to reload it; (if an error occurs, change to vi /etc/ld.so.conf >> include /usr/local/libmcrytp/lib/)

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn