Bug #55485 [Opn]: Compile ERROR: undefined symbol: xmlParserInputBufferCreateFilenameDefault
| From: | pedro dot galan at cscamaras dot es | Date: | Sun, 28 Aug 2011 15:32:30 +0000 |
| Subject: | Bug #55485 [Opn]: Compile ERROR: undefined symbol: xmlParserInputBufferCreateFilenameDefault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162986@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55485&edit=1
ID: 55485
User updated by: pedro dot galan at cscamaras dot es
Reported by: pedro dot galan at cscamaras dot es
Summary: Compile ERROR: undefined symbol:
xmlParserInputBufferCreateFilenameDefault
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Red Hat Enterprise Linux Server
PHP Version: 5.3.7
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2011-08-23 05:36:47] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55485&edit=1