#40532 [Opn->Bgs]: Version >= 2.6.20 of libxml2 is required

From: Date: Fri, 23 Mar 2007 16:12:49 +0000
Subject: #40532 [Opn->Bgs]: Version >= 2.6.20 of libxml2 is required
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969375876@lists.php.net to get a copy of this message
ID: 40532 Updated by: vrana@php.net Reported By: dmcmullan at mac dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: All PHP Version: Irrelevant New Comment: It is written that xmlreader needs libxml extension. And it is written that libxml requires libxml >= 2.6.20. Previous Comments: ------------------------------------------------------------------------ [2007-02-18 11:27:58] dmcmullan at mac dot com 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 this bug report at http://bugs.php.net/?id=40532&edit=1

« previous php.doc (#969375876) next »