Pyenv: Example of enabling build with shared Python library.

Created on 19 Jun 2015  路  2Comments  路  Source: pyenv/pyenv

The wiki page for common problems should give an example of how to install Python with a shared library. A shared library is needed in any embedded system where the Python library itself has to be linked to a dynamically loaded module.

The prime example of this is mod_wsgi.

For Linux it is a simple matter of using:

CONFIGURE_OPTS=--enable-shared pyenv install 2.7.10

Most helpful comment

In the meantime, the wiki was long updated.

Since Google keeps linking to this old issue, this is a direct link to the relevant page (hopefully more up-to-date than this ticket):

https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with---enable-shared

All 2 comments

Anyone on GH can edit wiki.

In the meantime, the wiki was long updated.

Since Google keeps linking to this old issue, this is a direct link to the relevant page (hopefully more up-to-date than this ticket):

https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with---enable-shared

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zeroxenator picture zeroxenator  路  3Comments

thedrow picture thedrow  路  3Comments

marcosfede picture marcosfede  路  3Comments

maksimr picture maksimr  路  3Comments

tarkatronic picture tarkatronic  路  3Comments