ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #01989
[Bug 1071582] Re: Unable to load dynamic library xmlreader.so
Hello OpenGG,
Thanks for taking the time to report this bug. I have attempt to
recreate this issue, but so far I have not been able to. Here is some
information about my test machine:
# uname -a
Linux CentOS5-5-IUS-testing 2.6.18-308.13.1.el5xen #1 SMP Tue Aug 21 17:51:21 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/issue
CentOS release 5.8 (Final)
Kernel \r on an \m
# rpm -qa |grep php
php53u-cli-5.3.17-2.ius.el5
php53u-common-5.3.17-2.ius.el5
php53u-5.3.17-2.ius.el5
php53u-fpm-5.3.17-2.ius.el5
php53u-xml-5.3.17-2.ius.el5
# php -v
PHP 5.3.17 (cli) (built: Sep 27 2012 16:29:17)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
# php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gettext
gmp
hash
iconv
json
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
And here are the results of my test:
# cat test.php
<?php
var_dump(class_exists('DOMDocument'));
?>
# php test.php
bool(true)
# wget "http://localhost/test.php" -O - -q
bool(true)
Please note that the xmlreader.so file is located in the following location on a 64bit machines:
# rpm -ql php53u-xml |grep xmlreader.so
/usr/lib64/php/modules/xmlreader.so
It appears your php configuration is trying to use the xmlreader.so file
from a different location.
If you are still having issues, can you update this bug with the output
of the same commands I ran on my test machine.
-Ben
** Changed in: ius
Status: New => In Progress
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1071582
Title:
Unable to load dynamic library xmlreader.so
Status in IUS Community Project:
In Progress
Bug description:
I'm using CentOS release 5.8 (Final) x86, and met a bug related to php53u-xml:
After installing php53u-xml , DOMDocument class is missing in php53u-fpm.
# cat test.php
<?php
var_dump(class_exists('DOMDocument'));
?>
# php test.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/
xmlreader.so' - /usr/lib/php/modules/xmlreader.so: undefined symbol: dom_node_cl
ass_entry in Unknown on line 0
bool(true)
# wget "http://localhost/test.php" -O - -q
bool(false)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1071582/+subscriptions
References