[lxml-dev] Note to egg contributors: libxml2 2.6.26 breaks backwards compatibility

Hi all, libxml2 2.6.26 introduces a new function xmlXPathContextSetCache in xpath.h. This means that eggs compiled against this version will not run with older installations, as the dynamic linking process will bail out with a missing symbol. I therefore have to ask our helpful egg contributors not to upgrade to that version or to make sure the eggs are still compiled against an older version (like 2.6.24). Sadly enough, libxml2 does not use versioned headers, so we can't easily get around this problem ourselves. Stefan

On 11.06.06 14:40:25, Stefan Behnel wrote:
libxml2 2.6.26 introduces a new function xmlXPathContextSetCache in xpath.h. This means that eggs compiled against this version will not run with older installations, as the dynamic linking process will bail out with a missing symbol.
I therefore have to ask our helpful egg contributors not to upgrade to that version or to make sure the eggs are still compiled against an older version (like 2.6.24).
Ah, so that explains why python crashes when I import libxml2 (2.6.26 from $HOME/libxml2) and lxml (using 2.6.24 from /usr/lib, but built against the 2.6.26 from $HOME/libxml2). Andreas -- You will pay for your sins. If you have already paid, please disregard this message.
participants (2)
-
Andreas Pakulat
-
Stefan Behnel