Results 1 to 5 of 5

Thread: Ubuntu Server "error while loading shared libaries"

  1. #1
    Join Date
    Feb 2010
    Location
    New Zealand
    Beans
    76
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Ubuntu Server "error while loading shared libaries"

    Hello,

    I'm currently booted to a live usb on my ubuntu server. I did something stupid (I think I broke a lib symlink or something, not sure ) and it stopped booting, get a kernel panic.

    When I try to chroot in I get the following error:

    Code:
    /bin/bash: error while loading shared libaries: libc.so.6: cannot open shared object file: No such file or directory
    Can someone please point out how to fix this? I can give any info needed if you tell me how

    Cheers.

  2. #2
    Join Date
    Feb 2010
    Location
    New Zealand
    Beans
    76
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Ubuntu Server "error while loading shared libaries"

    bump

  3. #3
    Join Date
    Jan 2009
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu Server "error while loading shared libaries"

    Hi,

    Try running:
    Code:
    ldconfig

  4. #4
    Join Date
    Feb 2010
    Location
    New Zealand
    Beans
    76
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Ubuntu Server "error while loading shared libaries"

    Hello,

    I can't boot so I ran it while booted to the live USB.

    Code:
    ldconfig
    /sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
    sudo ldconfig
    Which returns an empty terminal. What should I do?

    Thanks for the help.

  5. #5
    Join Date
    Feb 2010
    Location
    New Zealand
    Beans
    76
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Ubuntu Server "error while loading shared libaries"

    Anyone got any tips?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •