XML-LibXML - Getting it working on Mac OS X 10.5 (Leopard)

Posted on Sat Jun 28 00:12:22 2008 by nfiedler
Getting it working on Mac OS X 10.5 (Leopard)

Has anyone had any luck getting XML::LibXML working in any shape or form on Leopard when using a more recent version of libxml2? I've tried libxml2 versions 2.6.21, 2.6.24, 2.6.30, 2.6.31, and 2.6.32, all of which fail for various reasons, but typically something to do with malloc and double-free errors (see example below), in addition to planned tests that simply don't run.

The reason I'm trying to upgrading from the bundled libxml 2.6.16 is that I want a working Reader class and apparently that doesn't work for anything earlier than 2.6.20.

t/24c14n........................1/20 perl(63977) malloc: *** error for object 0x3: Non-aligned poin +ter being freed *** set a breakpoint in malloc_error_break to debug [and numerous similar errors]

Thanks

nathan

Write a response