Symfony lib-icu 4.4 Error on CentOS
Having problem to install symfony on CentOS due to the lib-icu 4.4 error. When running “php composer.phar install”, the error below pops up.
# php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- Installation request for symfony/icu v1.2.0 -> satisfiable by symfony/icu[v1.2.0].
There is some configuration on “composer.json” need to be changed on “required” tree.
"symfony/icu": "1.0.0",
"symfony/symfony": "2.3.5",
After that run the command again “php composer.phar install”. The details of the ticket error can be found on Symfony’s github site (scroll to the last line)