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