classification
Title: Import Error (undefined symbol: PyFloat_Type) when Importing math Module on Shared Build
Type: Stage:
Components: Installation Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: david-narvaez
Priority: normal Keywords:

Created on 2015-08-03 00:31 by david-narvaez, last changed 2015-08-03 00:31 by david-narvaez.

Messages (1)
msg247915 - (view) Author: David E. Narvaez (david-narvaez) Date: 2015-08-03 00:31
The original bug report can be found at https://bugs.kde.org/show_bug.cgi?id=335965. I was not able to reproduce this on Gentoo until the Fedora maintainer commented they build their Python with --enable-shared. At that point, I built two copies of Python 2.7 from git, one with defaults and one with --enable-shared. When I run the application with PYTHONHOME=/path/to/defualt/install it runs correctly, and when I run the application with PYTHONHOME=/path/to/shared/install I can reproduce the bug.

Is there something missing in the linking of this application in order for it to use a Python installation built with --enable-shared?
History
Date User Action Args
2015-08-03 00:31:57david-narvaezcreate