[lxml-dev] python crashes in xmlDictFree inside Zope

Ian Bicking ianb at colorstudy.com
Tue Jun 5 01:18:52 CEST 2007


Stefan Behnel wrote:
> 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

It would be great if someone could distribute a pre-built lxml egg for 
Mac with libxml2 linked in directly.  Only a small number of Mac users 
currently seem to be able to use lxml without segfaults and bus errors.


-- 
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers


More information about the lxml-dev mailing list