The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Emergency !! rpm: error while loading shared libraries: libelf.so.1: cannot open

Discussion in 'General Discussion' started by mitul, Jul 24, 2003.

  1. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Hello All,

    When i do anything that is related with RPM it gives me the following error

    [root@server ]# rpm
    rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

    [root@server ]# rpm -Uvh rpm-4.0.4-7x.18.i386.rpm
    rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

    Any Help

    Regards,

    cPanel.net Support Ticket Number:
     
  2. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Thank you for the prompt reply!

    I installed the libelf.so.0 from the link u have given but still the error remains the same.Actually i Installed RPM for Redhat 9 by mistake and i am using Redhat 7.3.

    the error says the libelf.so.1 cannot be loaded.... :(

    When i say /sbin/ldconfig nothing returns except the next prompt.

    Regards,

    cPanel.net Support Ticket Number:
     
    #2 mitul, Jul 24, 2003
    Last edited: Jul 24, 2003
  3. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Have you done a reboot?

    Mike

    cPanel.net Support Ticket Number:
     
  4. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Yes I did but no use the problem continues.

    Regards,

    cPanel.net Support Ticket Number:
     
  5. thewordsmith

    thewordsmith Registered

    Joined:
    Apr 6, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please note that this thread was from 2003, so the issues listed might well not be valid any longer. Additionally, Fedora is not in the list of supported OS for cPanel any longer:

    System Requirements - cPanel Inc.
     
Loading...

Share This Page