store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Sat May 18, 2013 6:31 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 12 posts ] 
Author Message
 Post subject: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Wed Dec 02, 2009 5:35 am 
Offline
Forum User
Forum User

Joined: Wed Dec 02, 2009 5:20 am
Posts: 6
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:
[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:
[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


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Wed Dec 02, 2009 10:28 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
Theres a -3 build in atomic-testing, did you try that?


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Wed Dec 02, 2009 10:59 am 
Offline
Forum User
Forum User

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


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Wed Dec 02, 2009 11:34 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
That is where Ive been backporting features from 5.3


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 7:59 am 
Offline
Forum User
Forum User

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


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 8:55 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
can you use the older libgcrypt?


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 9:04 am 
Offline
Forum User
Forum User

Joined: Wed Dec 02, 2009 5:20 am
Posts: 6
Hi Scott,

Yes, libgcrypt-1.2.0-3 works, but obviously running this older version is not ideal.


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 9:30 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
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


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 9:48 am 
Offline
Forum User
Forum User

Joined: Wed Dec 02, 2009 5:20 am
Posts: 6
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:
[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


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 11:14 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7418
Location: earth
Nothing really jumps out at me there. SElinux maybe?


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Thu Jun 03, 2010 11:35 am 
Offline
Forum User
Forum User

Joined: Wed Dec 02, 2009 5:20 am
Posts: 6
Nope

Code:
[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.


Top
 Profile  
 
 Post subject: Re: PHP 5.2.11 & php-xml - xsl.so problem
Unread postPosted: Sat Jul 24, 2010 1:47 am 
Offline
Forum User
Forum User

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 12 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group