php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55485 Compile ERROR: undefined symbol: xmlParserInputBufferCreateFilenameDefault
Submitted: 2011-08-23 05:36 UTC Modified: 2011-08-28 15:34 UTC
From: pedro dot galan at cscamaras dot es Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.3.7 OS: Red Hat Enterprise Linux Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pedro dot galan at cscamaras dot es
New email:
PHP Version: OS:

 

 [2011-08-23 05:36 UTC] pedro dot galan at cscamaras dot es
Description:
------------
./configure '--prefix=/usr/local/php532' '--with-config-file-path=/usr/local/php532/lib' '--disable-debug' '--disable-rpath' '
--enable-inline-optimization' '--with-curl' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-iconv' '--with-
pcre-regex' '--with-zlib' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enabl
e-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-pear' '--with-kerberos' '--with-ldap' '--with-mysql' '--with-mysqli' '--
with-pgsql' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--enable-mbstring=shared' '--enable-mbregex' '--ena
ble-pcntl'  '--with-gd' '--with-jpeg-dir=/usr/lib'

make

Expected result:
----------------
PHP gets compiled

Actual result:
--------------
...
Generating phar.php
/usr/local/src/php-5.3.7/sapi/cli/php: symbol lookup error: /usr/local/src/php-5.3.7/sapi/cli/php: undefined symbol: xmlParserInputBufferCreateFilenameDefault
make: *** [ext/phar/phar.php] Error 127


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-28 15:32 UTC] pedro dot galan at cscamaras dot es
Finally I was able to compiple php 5.3.7 on my system. There was an older version of libxml2 on the system, additional to that installed on /usr (version 2.6.26), and this older vesion had preference because it was listed before at /etc/ld.so.cache file.

Setting the LD_LIBRARY_PATH with /usr/lib value before trying to compile php 5.3.7 solved this problem. Of course there could be another options to solve this issue.
 [2011-08-28 15:34 UTC] pedro dot galan at cscamaras dot es
-Status: Open +Status: Closed
 [2011-08-28 15:34 UTC] pedro dot galan at cscamaras dot es
No need to keep open this possible bug report
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 18:01:33 2025 UTC