Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    291

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

    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:
    Mitul

  2. #2
    Member
    Join Date
    Feb 2003
    Posts
    291

    Default

    Originally posted by pschams
    Did you try finding this file on your system? It may be missing

    If missing: May want to reinstall it from source (http://freshmeat.net/projects/libelf/?topic_id=864)

    If not missing: May want to check your ldconfig file to make sure it points to the right directory.

    cPanel.net Support Ticket Number:
    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:
    Last edited by mitul; 07-24-2003 at 05:38 PM.
    Mitul

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    252

    Default

    Have you done a reboot?

    Mike

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Feb 2003
    Posts
    291

    Default

    Originally posted by Sash
    Have you done a reboot?

    Mike

    cPanel.net Support Ticket Number:
    Yes I did but no use the problem continues.

    Regards,

    cPanel.net Support Ticket Number:
    Mitul

  5. #5
    Registered User
    Join Date
    Apr 2011
    Posts
    1

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

    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. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

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

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. up2date: error while loading shared libraries: libwnck-1.so.4
    By rprix in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-25-2007, 06:56 AM
  2. php: error while loading shared libraries: libintl.so.2: ELF load command
    By nwilkens in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-22-2006, 12:48 AM
  3. error while loading shared libraries: libssl.so.0.9.7
    By fdnet1 in forum New User Questions
    Replies: 9
    Last Post: 05-18-2006, 04:30 PM
  4. MRTG error loading shared libraries
    By sh4ka in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-23-2005, 03:27 PM
  5. Sendmail - error while loading shared libraries
    By prodigy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-22-2005, 04:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube