Unable to detect ICU prefix

When compiling PHP, i get following error.

checking whether to enable internationalization support… yes
checking for icu-config… no
checking for location of ICU headers and libraries… not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.

To fix, install libicu dev package.

On CentOS/RHEL

yum -y install libicu-devel

On Debian/Ubuntu

apt -y install libicu-dev

Errors

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *