NYCPHP Meetup

NYPHP.org

[nycphp-talk] 4 and 5 on the same development box (again)

Adam Maccabee Trachtenberg adam at trachtenberg.com
Wed Dec 1 12:08:41 EST 2004


On Wed, 1 Dec 2004, David Mintz wrote:

> ext/dom/document.lo(.text+0x2914): In function
> `zif_dom_document_validate':
> /home/david/downloads/php-5.0.2/ext/dom/document.c:1752: undefined
> reference to `xmlNewValidCtxt'
> ext/dom/document.lo(.text+0x294f):/home/david/downloads/php-5.0.2/ext/dom/document.c:1764:
> undefined reference to `xmlFreeValidCtxt'
> ext/dom/document.lo(.text+0x2eac): In function `dom_load_html':
> /home/david/downloads/php-5.0.2/ext/dom/document.c:1978: undefined
> reference to `htmlCreateMemoryParserCtxt'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> and yes I checked libxslt version, it's 1.0.27. Perhaps I'll next try
> upgrading it anyway and see if that brings any joy.

While you're at it, check to see what version of libxml2 you're
running. Make sure you're running a 2.6.x series, you'll be
happier. The current version is probably best.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list