[New-bugs-announce] [issue24783] Import Error (undefined symbol: PyFloat_Type) when Importing math Module on Shared Build

David E. Narvaez report at bugs.python.org
Mon Aug 3 02:31:57 CEST 2015


New submission from David E. Narvaez:

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?

----------
components: Installation
messages: 247915
nosy: david-narvaez
priority: normal
severity: normal
status: open
title: Import Error (undefined symbol: PyFloat_Type) when Importing math Module on Shared Build
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24783>
_______________________________________


More information about the New-bugs-announce mailing list