Bug 107043 - missing link /usr/lib/libelf.so to /usr/lib/libelf.so.1
missing link /usr/lib/libelf.so to /usr/lib/libelf.so.1
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: elfutils (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-10-14 11:38 EDT by Paolo Patruno
Modified: 2011-04-06 21:28 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-10-14 15:45:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paolo Patruno 2003-10-14 11:38:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708

Description of problem:
after installation and ldconfig there are
missing link   /usr/lib/libelf.so to  /usr/lib/libelf.so.1
that do not permit to link with the option -l elf (cannot find the library).

Version-Release number of selected component (if applicable):
elfutils-libelf-0.86-3

How reproducible:
Always

Steps to Reproduce:
1.gcc xxx.c -lelf
2.
3.
    

Actual Results:  ld cannot find the library

Expected Results:  library linked as shared object

Additional info:

after a manual
ln -s  /usr/lib/libelf.so.1  /usr/lib/libelf.so
all is ok
Comment 1 Bill Nottingham 2003-10-14 15:45:06 EDT
Install elfutils-devel.
Comment 2 thewordsmith 2011-04-06 21:28:02 EDT
If using Fedora XX you are missing "elfutils-libelf" and needed packages.

Solution that worked for me. Download

elfutils-libelf
elfutils
elfutils-libelf-devel
elfutils-libelf(x86-32) or the 64 bit version.

Download the those packages into an accessible dir.


Reboot with your rescue disk. CD to the downloaded dir. Run rpm -iv --force --nodeps --root=/mnt/sysimage "elfutils*rpm.

Notice I uses a wildcard "elfutils*rpm" to specify all rpm packages. --root=/mnt/sysimage is needed to install the packages onto the OS installed on your HD for RedHat Fedora systems. --nodeps means do not search for package dependencies.

That should work. Good luck.


(In reply to comment #0)
> From Bugzilla Helper:
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708
> 
> Description of problem:
> after installation and ldconfig there are
> missing link   /usr/lib/libelf.so to  /usr/lib/libelf.so.1
> that do not permit to link with the option -l elf (cannot find the library).
> 
> Version-Release number of selected component (if applicable):
> elfutils-libelf-0.86-3
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1.gcc xxx.c -lelf
> 2.
> 3.
>     
> 
> Actual Results:  ld cannot find the library
> 
> Expected Results:  library linked as shared object
> 
> Additional info:
> 
> after a manual
> ln -s  /usr/lib/libelf.so.1  /usr/lib/libelf.so
> all is ok

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