[New-bugs-announce] [issue35997] ImportError: dlopen failed: cannot locate symbol "PyBool_Type"

muhzi report at bugs.python.org
Thu Feb 14 15:36:32 EST 2019


New submission from muhzi <air.oamyst517 at yahoo.com>:

I cross compiled python for android x86_64, and the interpreter works fine, no problems. But when I compiled some other extension and try to import it. I get an import error as such the imported shared library fails to locate the symbol "PyBool_Type".

ImportError: dlopen failed: cannot locate symbol "PyBool_Type" referenced by ....

The extension was compiled with -I && -L flags pointing to the Python installation include and lib folders.

----------
components: Cross-Build, Regular Expressions
messages: 335560
nosy: Alex.Willmer, ezio.melotti, mrabarnett, muhzi, xdegaye
priority: normal
severity: normal
status: open
title: ImportError: dlopen failed: cannot locate symbol "PyBool_Type"
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35997>
_______________________________________


More information about the New-bugs-announce mailing list