PHP 5.2.11 & php-xml - xsl.so problem

Support/Development for PHP
patrict
Forum User
Forum User
Posts: 6
Joined: Wed Dec 02, 2009 5:20 am

PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post by scott »

Theres a -3 build in atomic-testing, did you try that?
patrict
Forum User
Forum User
Posts: 6
Joined: Wed Dec 02, 2009 5:20 am

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post by scott »

That is where Ive been backporting features from 5.3
patrict
Forum User
Forum User
Posts: 6
Joined: Wed Dec 02, 2009 5:20 am

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post by scott »

can you use the older libgcrypt?
patrict
Forum User
Forum User
Posts: 6
Joined: Wed Dec 02, 2009 5:20 am

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post by patrict »

Hi Scott,

Yes, libgcrypt-1.2.0-3 works, but obviously running this older version is not ideal.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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
patrict
Forum User
Forum User
Posts: 6
Joined: Wed Dec 02, 2009 5:20 am

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post by scott »

Nothing really jumps out at me there. SElinux maybe?
patrict
Forum User
Forum User
Posts: 6
Joined: Wed Dec 02, 2009 5:20 am

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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.
ElviCities
Forum User
Forum User
Posts: 5
Joined: Fri May 02, 2008 7:18 pm

Re: PHP 5.2.11 & php-xml - xsl.so problem

Unread post 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.
Post Reply