Page 1 of 1
PHP 5.2.11 & php-xml - xsl.so problem
Posted: Wed Dec 02, 2009 5:35 am
by patrict
Hi all,
I have upgraded to php-5.2.11-2.el4.art on Red Hat Enterprise Linux ES release 4 (Nahant Update 7).
I now receive the following warning:
Code: Select all
[root@localhost ~]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /lib/libgcrypt.so.11: undefined symbol: gpg_err_code_from_syserror in Unknown on line 0
PHP 5.2.11 (cli) (built: Oct 7 2009 09:37:00)
This has been mentioned in the following 2 threads:
http://www.atomicorp.com/forum/viewtopic.php?f=2&t=2818
http://www.atomicorp.com/forum/viewtopic.php?f=2&t=2934
But the last follow-up from Scott was on April 3rd.
Is there any news on this problem as yet?
php-xml package:
Code: Select all
[root@soval ~]# rpm -qf /usr/lib/php/modules/xsl.so
php-xml-5.2.11-2.el4.art
Also, until this has been resolved perhaps it can be added to the Known Issues on the PHP 5.2.x installation Wiki at
http://www.atomicorp.com/wiki/index.php/PHP
Many thanks
Patric
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Wed Dec 02, 2009 10:28 am
by scott
Theres a -3 build in atomic-testing, did you try that?
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Wed Dec 02, 2009 10:59 am
by patrict
Hi Scott,
No I didn't check in testing, only stable... Would you say its stable enough to try in a production environment? I assume the only changes were to resolve this problem?
Thanks

Patric
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Wed Dec 02, 2009 11:34 am
by scott
That is where Ive been backporting features from 5.3
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 7:59 am
by patrict
Hi Scott,
I hope you are well, it has been a while since we last corresponded.
I am now running the following:
php-5.2.13-1.el4.art
php-xml-5.2.13-1.el4.art
If I attempt to run with libgcrypt.1.4.3-2.el4.art I still get the "Unable to load dynamic library" error, and so am still running with libgcrypt-1.2.0-3.
Any idea when it will be resolved?
Many thanks
Patric
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 8:55 am
by scott
can you use the older libgcrypt?
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 9:04 am
by patrict
Hi Scott,
Yes, libgcrypt-1.2.0-3 works, but obviously running this older version is not ideal.
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 9:30 am
by scott
Very odd:
[root@www ~]# rpm -q php-xml libgcrypt
php-xml-5.2.13-1.el4.art
libgcrypt-1.4.3-2.el4.art
[root@www ~]# php -v
PHP 5.2.13 (cli) (built: Mar 2 2010 15:39:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
[root@www ~]#
I cant seem to duplicate it here
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 9:48 am
by patrict
Hmmm, very strange...
All I can think to do is give you as much info as I can and perhaps you will spot something Im missing...
Code: Select all
[root@localhost ~]# rpm -q php-xml libgcrypt
php-xml-5.2.13-1.el4.art
libgcrypt-1.4.3-2.el4.art
[root@localhost ~]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /lib/libgcrypt.so.11:
undefined symbol: gpg_err_code_from_syserror in Unknown on line 0
PHP 5.2.13 (cli) (built: Mar 2 2010 15:39:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.11, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
[root@localhost ~]# rpm -q php
php-5.2.13-1.el4.art
[root@localhost ~]# ls -la /usr/lib/php/modules/xsl.so
-rwxr-xr-x 1 root root 24380 Mar 2 22:42 /usr/lib/php/modules/xsl.so
[root@localhost ~]# ls -la /lib/libgcrypt.so.11
lrwxrwxrwx 1 root root 19 Jun 3 15:37 /lib/libgcrypt.so.11 -> libgcrypt.so.11.5.1
[root@localhost ~]# ls -la /lib/libgcrypt.so.11.5.1
-rwxr-xr-x 1 root root 465760 Nov 5 2008 /lib/libgcrypt.so.11.5.1
[root@localhost ~]# rpm -qf /usr/lib/php/modules/xsl.so
php-xml-5.2.13-1.el4.art
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
[root@localhost ~]# uname -a
Linux localhost 2.6.9-89.0.20.ELsmp #1 SMP Mon Jan 18 12:22:21 EST 2010 i686 i686 i386 GNU/Linux
Any ideas would be much appreciated, very strange behaviour... lol
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 11:14 am
by scott
Nothing really jumps out at me there. SElinux maybe?
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Thu Jun 03, 2010 11:35 am
by patrict
Nope
Code: Select all
[root@localhost ~]# getenforce
Disabled
Oh well, Im not going to argue with you if yours is working, Ill keep digging and see if I can figure out what is causing it.
Thanks for your time Scott.
Re: PHP 5.2.11 & php-xml - xsl.so problem
Posted: Sat Jul 24, 2010 1:47 am
by ElviCities
I have found the solution. I have upgraded to: libgpg-error-1.4-2.el4.art.i386.rpm which is in the testing channel, and the
Code: Select all
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /lib/libgcrypt.so.11: undefined symbol: gpg_err_code_from_syserror in Unknown on line 0
error no longer appears.
I also upgraded to the php-5.2.13-
2.el4.art.i386.rpm php packages.
Hopefully those packages are stable enough. But, it was definitely installing the libgpg-error package that solved it for me.