Bug 173005 - Missing link /usr/lib/libelf.so -> libelf.so.1
Summary: Missing link /usr/lib/libelf.so -> libelf.so.1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: elfutils
Version: 3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-12 03:12 UTC by Boris Vinarsky
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-15 03:12:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Boris Vinarsky 2005-11-12 03:12:05 UTC
Description of problem:
Soft link which is present on 32 bit RHEL 3.0 /usr/lib/libelf.so -> libelf.so.1
is missing on 64 bit RHEL 3.0. Applications that should run on both 32 bit
systems and 64 bit systems in compatibilty mode and which rely on that link fail.
Version-Release number of selected component (if applicable):
elfutils-libelf-devel-0.94-1

How reproducible:
Always

Steps to Reproduce:
1.Run on 32 bit machine rpm -qvl elfutils-libelf-devel-0.94-1
2.Run on 64 bit machine rpm -qvl elfutils-libelf-devel-0.94-1
 
Actual results:
On 32 bit system:
rpm -qvl elfutils-libelf-devel-0.94-1
-rw-r--r--    1 root    root             9574 Jan 16  2004 /usr/include/gelf.h
-rw-r--r--    1 root    root            11791 Jan 16  2004 /usr/include/libelf.h
-rw-r--r--    1 root    root             1293 Jan 16  2004 /usr/include/nlist.h
-rw-r--r--    1 root    root           149882 Jan 16  2004 /usr/lib/libelf.a
lrwxrwxrwx    1 root    root               11 Jan 16  2004 /usr/lib/libelf.so ->
libelf.so.1

On 64 bit system
rpm -qvl elfutils-libelf-devel-0.94-1
-rw-r--r--    1 root    root             9574 Jan 16  2004 /usr/include/gelf.h
-rw-r--r--    1 root    root            11791 Jan 16  2004 /usr/include/libelf.h
-rw-r--r--    1 root    root             1293 Jan 16  2004 /usr/include/nlist.h
-rw-r--r--    1 root    root           223598 Jan 16  2004 /usr/lib64/libelf.a
lrwxrwxrwx    1 root    root               11 Jan 16  2004 /usr/lib64/libelf.so
-> libelf.so.1

Expected results:
The 64 bit package should include 32 bit components in /usr/lib or the link
should be included into some compatibility package.

Additional info:

Workaround on 64 bit machine:                                                  
                              
cd /usr/lib
ln -s libelf.so.1 libelf.so

Comment 1 Roland McGrath 2005-11-15 03:12:04 UTC
You can install the 32-bit elfutils-libelf-devel package if you want to do
32-bit builds.  rpm should not complain about the header files being in both
packages since they will be identical.


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