Red Hat Bugzilla – Bug 1017604
LD_LIBRARY_PATH does not contain 32bit lib path on 64bit systems
Last modified: 2016-01-31 21:28:35 EST
Description of problem:
When I enable dts (on x86_64 for example) I see that LD_LIBRARY_PATH=/opt/rh/devtoolset-2/root/usr/lib64, but it should be LD_LIBRARY_PATH=/opt/rh/devtoolset-2/root/usr/lib64:/opt/rh/devtoolset-2/root/usr/lib. In other words 32 lib path should be included as well.
How to reproduce:
1/ Install devtoolset-2-memstomp.i686 on x86_64 distro
2/ LD_PRELOAD="libmemstomp.so" ./something_compiled_with_-m32
ERROR: ld.so: object 'libmemstomp.so' from LD_PRELOAD cannot be preloaded: ignored.
Fixed in devtoolset-2-2.1-3.el; only lightly tested though.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.