[lxml-dev] python crashes in xmlDictFree inside Zope

Stefan Behnel stefan_ml at behnel.de
Mon Jun 4 19:04:41 CEST 2007


Hi,

Eric Tiffany wrote:
> So evidently lxml thought it was using 2.6.28, while python was somehow
> using the default Apple libxml2 libs.

If you want to avoid problems like this, consider compiling in libxml2 and
libxslt statically into lxml.etree and the other two Pyrex libraries. That
adds a couple of MBs to each of the three Pyrex modules, but that's usually a
low price for the comfort of always getting the versions you expect. We have a
sort-of-recipe for doing that on Windows, but it should not be too hard to
adapt that to MacOS-X.

http://codespeak.net/lxml/dev/build.html

Stefan



More information about the lxml-dev mailing list