#40532 [NEW]: Version >= 2.6.20 of libxml2 is required
| From: | dmcmullan at mac dot com | Date: | Sun, 18 Feb 2007 11:27:58 +0000 |
| Subject: | #40532 [NEW]: Version >= 2.6.20 of libxml2 is required | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969375512@lists.php.net to get a copy of this message | ||
From: dmcmullan at mac dot com
Operating system: All
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Version >= 2.6.20 of libxml2 is required
Description:
------------
To compile PHP with xmlreader, version >= 2.6.20 of libxml2 is required,
otherwise the make will fail with an Unreferenced Symbol error for
xmlTextReaderSchemaValidate (which was introduced in version 2.6.20).
This page:
http://au.php.net/manual/en/ref.libxml.php
says that version 2.6.0 is required. The actual xmlreader page:
http://au.php.net/manual/en/ref.xmlreader.php
doesn't specify a required version.
The Australian Mirror of xmlsoft doesn't have an up-to-date version of
libxml2, so lots of people will hit this problem.
Reproduce code:
---------------
./configure --enable-xmlreader
gmake
Expected result:
----------------
A successful compile!
Actual result:
--------------
Undefined first referenced
symbol in file
xmlTextReaderSchemaValidate ext/xmlreader/.libs/php_xmlreader.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
gmake: *** [sapi/cli/php] Error 1
--
Edit bug report at http://bugs.php.net/?id=40532&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40532&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40532&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40532&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40532&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40532&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40532&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40532&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40532&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40532&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40532&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40532&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40532&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40532&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40532&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40532&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40532&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40532&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40532&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40532&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40532&r=mysqlcfg