[issue34814] makesetup: must link C extensions to libpython when compiled in shared mode

reimar report at bugs.python.org
Mon Apr 29 10:37:55 EDT 2019


reimar <pybug at reimardoeffinger.de> added the comment:

> In short, RTLD_LOCAL is not supported.

I am sorry, this is not a workable stance.
This does not just affect loading libpython directly.
It also affects dlopen of a library that links to a library ... that links to libpython.
For a developer is impossible to know if some library via dozens of dependencies might ever bring in libpython.
Thus your stance is essentially equivalent to "nobody must ever use RTLD_LOCAL". I find it hard to consider that an acceptable "solution".

----------
nosy: +reimar

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


More information about the Python-bugs-list mailing list