On Fri, Mar 26, 2021, at 2:06 PM, Zbigniew Jędrzejewski-Szmek wrote:
On Fri, Mar 26, 2021 at 06:51:56PM +0100, Miro Hrončok wrote:
On 26. 03. 21 18:24, Charalampos Stratakis wrote:
python2.7 churchyard cstratak torsava vstinner
I was curious. The error is:
0001: file '/usr/lib64/python2.7/lib-dynload/pyexpat.so' contains a standard rpath '/usr/lib64' in [/usr/lib64]
And the cause is... our own patch 😱
https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00187-add-RPATH-...
For reasons I don't understand, the bugzilla referenced from the patch is private. It is a RHEL 6.2 bugzilla from 2012 that could be summarized as:
"If the user sets $LD_LIBRARY_PATH to a directory with broken/incompatible libraries, Python breaks."
I'd vote for treating this as the wrong solution in the wrong place. If you set LD_LIBRARY_PATH, you get to keep both pieces if anything goes wrong.
Agreed.
/me glares at SCL for LD_LIBRARY_PATH brokenness
V/r, James Cassell