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

Antoine Pitrou report at bugs.python.org
Tue May 27 00:24:49 CEST 2014


Antoine Pitrou added the comment:

Hmm, apparently the -l flag was added in #832799, for a rather complicated case where the interpreter is linked with a library dlopened by an embedding application (I suppose for some kind of plugin system). The OP there also mentions RTLD_GLOBAL as a workaround (or perhaps the right way of achieving the desired effect).

(also, the OP didn't mention why he used a shared library build, instead of linking Python statically with the dlopened library)

----------

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


More information about the Python-bugs-list mailing list