1 (edited by g25 2016-11-10 14:33:04)

Topic: Problem with PHP 5.6.28 and php-intl

Any one else seeing this on CentOS 6 box?

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/intl.so' - libicui18n.so.50: cannot open shared object file: No such file or directory in Unknown on line 0

Magento is not working as a result. Wondering if this is after a recent update?

Package: php-intl-5.6.28-1.el6.remi.x86_64


Many thanks in advance.

Re: Problem with PHP 5.6.28 and php-intl

How can you install it ?

# rpm -q --requires php-intl
libicui18n.so.50()(64bit)  

# rpm -q --whatprovides 'libicui18n.so.50()(64bit)'
libicu-last-50.1.2-11.el6.remi.x86_64
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Problem with PHP 5.6.28 and php-intl

Thank you Remi for your response.

I installed via: yum install php-intl

It installed all dependencies just fine. However, I spotted something... it didn't install libicu-last-50.1.2-11.el6.remi.x86_64

It did however install another package libicu-4.2.1-14.el6.x86_64

Just seems like it hasn't installed the libicu-last package, soon as I installed that the error has disappeared, so it is resolved now. However, anyway for the yum install php-intl to work correctly by installing libicu-last it self?

Re: Problem with PHP 5.6.28 and php-intl

As I said, don't how you can have install it:

# yum install php-intl 
...
Resolving Dependencies
--> Running transaction check
---> Package php-intl.x86_64 0:5.6.28-1.el6.remi will be installed
--> Processing Dependency: libicuuc.so.50()(64bit) for package: php-intl-5.6.28-1.el6.remi.x86_64
--> Processing Dependency: libicuio.so.50()(64bit) for package: php-intl-5.6.28-1.el6.remi.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: php-intl-5.6.28-1.el6.remi.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: php-intl-5.6.28-1.el6.remi.x86_64
--> Running transaction check
---> Package libicu-last.x86_64 0:50.1.2-11.el6.remi will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================
 Package                   Arch                 Version                           Repository                Size
=================================================================================================================
Installing:
 php-intl                  x86_64               5.6.28-1.el6.remi                 remi-php56               210 k
Installing for dependencies:
 libicu-last               x86_64               50.1.2-11.el6.remi                remi-safe                7.3 M

Transaction Summary
=================================================================================================================
Install       2 Package(s)

Total download size: 7.5 M
Installed size: 25 M
Is this ok [y/N]: 
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Problem with PHP 5.6.28 and php-intl

I see, that is very odd. I wonder if this is related to CloudLinux which provides a package

libicu               x86_64               4.2.1-14.el6                cloudlinux-x86_64-server-6

Re: Problem with PHP 5.6.28 and php-intl

No, because this package doesn't what is required by php-intl.

Sorry, but no explanation.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Problem with PHP 5.6.28 and php-intl

Strange, but thanks for the explanation. If it reoccurs we will manually install the dependency.

Thank you.

Re: Problem with PHP 5.6.28 and php-intl

smile


As solved => Closing this thread.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi