Topic: xsl.so error after installing PHP 5.4.6

Hello Remi,

I got an error after upgrade from PHP 5.4.5 to 5.4.6:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/libxslt.so.1: symbol xmlXPathCompiledEvalToBoolean, version LIBXML2_2.6.27 not defined in file libxml2.so.2 with link time reference in Unknown on line 0
PHP 5.4.6 (cli) (built: Aug 16 2012 14:44:13)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.

Can you please tell me how to fix this ?

Re: xsl.so error after installing PHP 5.4.6

distro ? arch ? Version ?

Please try without ionCube

What is the result of:

rpm -qf /usr/lib64/libxslt.so.1
rpm -qf /usr/lib64/libxml2.so.2
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: xsl.so error after installing PHP 5.4.6

Remi wrote:

distro ? arch ? Version ?

Please try without ionCube

What is the result of:

rpm -qf /usr/lib64/libxslt.so.1
rpm -qf /usr/lib64/libxml2.so.2

CentOS 5.8 64-bit.

rpm -qf /usr/lib64/libxslt.so.1
libxslt-1.1.26-9.0.cf.rhel5

rpm -qf /usr/lib64/libxml2.so.2
libxml2-2.6.26-2.1.15.el5_8.2

Re: xsl.so error after installing PHP 5.4.6

libxslt-1.1.26-9.0.cf.rhel5

Sorry, I don't know from where this package come from

PHP is built against standard libxslt-1.1.17-2.el5_2.2 from official CentOS repository.

So, need to downgrade.


P.S. perhaps updating to libxml2-2.8.0-2.0.cf.rhel5 from same repository will work.. without any guaranty, can only speak for packages from my repo.

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: xsl.so error after installing PHP 5.4.6

Now it's all working. Thank you smile