A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-April/119051.html below:

[Python-Dev] Building against system expat

[Python-Dev] Building against system expat [Python-Dev] Building against system expatGeorg Brandl g.brandl at gmx.net
Wed Apr 25 20:44:22 CEST 2012
On 25.04.2012 15:42, Bohuslav Kabrda wrote:
> Hi, I'm trying to build Python 3.2.3 against system expat library, that lies
> out of the ordinary directory structure (under /opt). I also have an older
> version of expat library in the system. No matter what shell variables or
> options I pass to configure and make, pyexpat gets linked against the system
> expat, which results in errors during tests:
> 
> pyexpat.cpython-32dmu.so: undefined symbol: XML_SetHashSalt
> 
> anyone has any idea what to pass to configure/make to link pyexpat with the
> other expat?

You'll have to upgrade your expat.  The XML_SetHashSalt is new in 2.1.0 and
makes it possible to avoid an algorithmic complexity attack; Python uses it
in its newest bugfix releases.  See for example <http://bugs.python.org/issue14234>.

cheers,
Georg

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4