Bug 1017604 - LD_LIBRARY_PATH does not contain 32bit lib path on 64bit systems
Summary: LD_LIBRARY_PATH does not contain 32bit lib path on 64bit systems
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: devtoolset-meta
Version: DTS 2.0 RHEL 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 2.4
Assignee: Marek Polacek
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 08:45 UTC by Miroslav Franc
Modified: 2016-02-01 02:28 UTC (History)
4 users (show)

Fixed In Version: devtoolset-2-2.1-3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-11 06:34:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0278 0 normal SHIPPED_LIVE devtoolset-2 bug fix and enhancement update 2014-03-11 10:32:13 UTC

Description Miroslav Franc 2013-10-10 08:45:34 UTC
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.

Comment 1 Marek Polacek 2013-10-14 15:56:01 UTC
Fixed in devtoolset-2-2.1-3.el[56]; only lightly tested though.

Comment 6 errata-xmlrpc 2014-03-11 06:34:11 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-0278.html


Note You need to log in before you can comment on or make changes to this bug.