This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 124994 - /lib/ symlink needed for ldd w/ ia32 apps
/lib/ symlink needed for ldd w/ ia32 apps
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: glibc (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
Blocks: 126674
  Show dependency treegraph
Reported: 2004-06-01 16:38 EDT by Greg Edwards
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-25 10:57:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Greg Edwards 2004-06-01 16:38:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ia64; en-US; rv:1.8a2)
Gecko/20040521 Firefox/0.8.0+

Description of problem:
/usr/bin/ldd contains:

RTLDLIST="/lib/ /lib/"


On ia64, /lib/ should be a symlink to 
/emul/ia32-linux/lib/ so ldd will work for ia32-compiled
apps.  Otherwise, the behavior is:

$ file setup
setup: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped

$ ldd setup
        not a dynamic executable

With the symlink in place, the output is correct:

$ ldd setup => /lib/ (0x40034000) => not found => /lib/tls/ (0x40038000) => /lib/tls/ (0x40048000) => /lib/tls/ (0x4006c000)
        /lib/ => /lib/ (0x40000000)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run ldd on an ia32 app on an RHEL AS 3 Update 2 ia64 box

Additional info:
Comment 1 Jakub Jelinek 2004-10-25 10:57:33 EDT
glibc-2.3.2-95.27 and above have:
RTLDLIST="/lib/ /emul/ia32-linux/lib/"
in /usr/bin/ldd.

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