Don ' t know how to define struct flock on the This system, set--enable-opcach=no

Source: Internet
Author: User

Workaround One:

Finally, check out the official PHP documentation. Add--with-libdir=lib64 to the Configure.

Workaround Two:

Edit/etc/ld.so.conf

According to the system, join INCLUDE/ETC/LD.SO.CONF,

Then execute the ldconfig to reload it once; (if the error changes to vi/etc/ld.so.conf >> include/usr/local/libmcrytp/lib/)

Error description

The following error occurred during the./configure step when installing PHP5.4.3 on the CentOS 6.3 64-bit version today
Configure:error:Cannot Find LDAP Libraries In/usr/lib
The cause is a problem with the dynamic link library address.

Workaround

The specific solutions are as follows:
cp-frp/usr/lib64/libldap*/usr/lib/
And then./configure ... can be compiled by

Don ' t know how to define struct flock on the This system, set--enable-opcach=no

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.