A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022124.html below:

[Python-Dev] Freeze and shared modules

[Python-Dev] Freeze and shared modules [Python-Dev] Freeze and shared modulesMartin v. Loewis martin@v.loewis.de
02 Apr 2002 19:43:36 +0200
"M.-A. Lemburg" <mal@lemburg.com> writes:

> Does anyone know which compiler/linker options have to be specified
> to make frozen Python interpreters correctly import shared modules ?

LINKFORSHARED should be the right set of options.

> Many of the mxCGIPython are running into this problem (the default
> settings in Python or freeze seem to be wrong on this account) and
> it got even worse with Python 2.2 where even the standard modules
> are built shared rather than statically linked.

Yes, building all extension modules as shared libraries is evil for
freezing applications. I wish Linux distributors would recognize this
and write proper Setup files, instead of relying on the default
mechanism.

Regards,
Martin



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