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

WBOY
Release: 2016-08-04 09:21:30
Original
1405 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!