This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 124994

Summary: /lib/ symlink needed for ldd w/ ia32 apps
Product: Red Hat Enterprise Linux 3 Reporter: Greg Edwards <edwardsg>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jbarnes
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-25 10:57:33 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 126674    

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.