This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients barry, doko, eric.smith, koobs, martin.panter, mdk, nascheme, pitrou, twouters, vstinner, xdegaye, yan12125
Date 2018-09-26.20:52:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537995170.72.0.545547206417.issue34814@psf.upfronthosting.co.za>
In-reply-to
Content
> Downstream (RHEL) issue:
> https://bugzilla.redhat.com/show_bug.cgi?id=1585201

Not sure that this is a bug. As Petr Viktorin points out in Comment #4, the reproducer is not expected to work because of the semantics of RTLD_LOCAL.

So the current bpo issue would be related only to a slight inconsistency between the build of extension modules by distutils and those built by the Makefile.

However, it seems that the loader of Android requires that those libraries be explicitly linked against libpython:

* The last paragraph on https://github.com/termux/termux-packages and the related termux issue "Shared library symbols not visible on dlopen()?" (at https://github.com/android-ndk/ndk/issues/201) explain this point.

* The issue I have submitted to pyephem "android cross-build needs the extension module to be linked against the math library" at https://github.com/brandon-rhodes/pyephem/issues/114 confirms this point on Android API level 21.
History
Date User Action Args
2018-10-17 09:18:23xdegayeunlinkissue34814 messages
2018-09-26 20:52:50xdegayesetrecipients: + xdegaye, twouters, barry, nascheme, doko, pitrou, vstinner, eric.smith, martin.panter, koobs, yan12125, mdk
2018-09-26 20:52:50xdegayesetmessageid: <1537995170.72.0.545547206417.issue34814@psf.upfronthosting.co.za>
2018-09-26 20:52:50xdegayelinkissue34814 messages
2018-09-26 20:52:50xdegayecreate