[issue21536] extension built with a shared python cannot be loaded with a static python

STINNER Victor report at bugs.python.org
Wed Apr 24 20:34:57 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

> bpo-34814 is linked to this use case: https://bugzilla.redhat.com/show_bug.cgi?id=1585201 is an example of Python embedded in C using dlopen("libpython2.7.so.1.0", RTLD_LOCAL | RTLD_NOW). Problem: some C extensions of the standard library cannot be loaded in this case, like _struct.

bpo-1429775 is another example of RTLD_LOCAL usage, see:
https://mail.python.org/pipermail/python-dev/2006-February/060533.html

----------

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


More information about the Python-bugs-list mailing list