Edit report at https://bugs.php.net/bug.php?id=74865&edit=1
ID: 74865
Comment by: rafal dot ksiazek at workhq dot com
Reported by: rafal dot ksiazek at workhq dot com
Summary: PHP7.0-xml dom.so: undefined symbol:
php_libxml_node_free_list
Status: Open
Type: Bug
Package: DOM XML related
Operating System: Ubuntu 14.04
PHP Version: 7.0.21
Block user comment: N
Private report: N
New Comment:
[rk]% php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' -
/usr/lib/php/20151012/dom.so: undefined symbol: php_libxml_node_free_list in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: undefined
symbol: dom_node_class_entry in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' -
/usr/lib/php/20151012/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP 7.0.20-2~ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jun 14 2017 05:55:23) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.21-1~ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend
Technologies
[rk]% php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' -
/usr/lib/php/20151012/dom.so: undefined symbol: php_libxml_node_free_list in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: undefined
symbol: dom_node_class_entry in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' -
/usr/lib/php/20151012/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlrpc
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
Previous Comments:
------------------------------------------------------------------------
[2017-07-06 12:25:53] spam2 at rhsoft dot net
then the ordering of modules is wrong in the package as you can see i have no errors - that's
sometimes tricky in PHP when extension C is based on B which is based on A
"As I said - it goes after: apt-get update & upgrade" - no you did not say that in the
initial report - php-7.0.21-1.0.fc25.20170705.1755.rh.sandybridge.x86_64 is the system PHP but not
from the Fedora distribution
since upstream PHP properly built and configured just works as before you better take this to the
distributions bugtracker
------------------------------------------------------------------------
[2017-07-06 12:21:00] rafal dot ksiazek at workhq dot com
Nope, it was installed.
php -m | grep libxml
libxml
As I said - it goes after: apt-get update & upgrade
------------------------------------------------------------------------
[2017-07-06 12:18:50] spam2 at rhsoft dot net
this is pretty sure a build-failure and looks like libxml is missing
[reindl@arrakis:~]$ php -v
PHP 7.0.21 (cli) (built: Jul 5 2017 18:05:18) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
[reindl@arrakis:~]$ php -m
[PHP Modules]
apcu
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
gd
geoip
hash
iconv
imagick
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
Reflection
session
SimpleXML
soap
SPL
standard
tidy
xml
zip
zlib
------------------------------------------------------------------------
[2017-07-06 12:14:26] rafal dot ksiazek at workhq dot com
Description:
------------
After updating system php application stop working:
php -i generates something like this:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' -
/usr/lib/php/20151012/dom.so: undefined symbol: php_libxml_node_free_list in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: undefined
symbol: dom_node_class_entry in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' -
/usr/lib/php/20151012/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74865&edit=1