Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Software that I'm installing requires /lib/, but it's not in place:

$> ls -l /lib/libc*
lrwxrwxrwx 1 root root      14 2011-10-09 06:02 /lib/ ->
-rw-r--r-- 1 root root   18832 2011-02-16 03:42 /lib/
-rw-r--r-- 1 root root 1620736 2012-05-23 07:19 /lib/

libc and libc6-dev are installed. Running apt-get upgrade glibc does not solve this.

What should I do to resolve this dependency?

share|improve this question
Provide output of the following: ls -l /lib/libc* – Andrejs Cainikovs Sep 16 '12 at 10:24
updated output of this command – user13871 Sep 16 '12 at 10:30
possible duplicate: – green Sep 16 '12 at 10:51
Try to find it in any directory: locate – Timo Sep 16 '12 at 10:51
up vote 2 down vote accepted

A quick solution.

Open a terminal (Ctrl+Alt+T) and run the following commands:

For 64-bit Ubuntu:

sudo ln -s /lib64/x86_64-linux-gnu/ /lib64/

For 32-bit Ubuntu:

sudo ln -s /lib/i386-linux-gnu/ /lib/
share|improve this answer

On my 64-bit Ubuntu it needed to be:

sudo ln -s /lib/x86_64-linux-gnu/ /lib/

(i.e. the 64 bit library is below /lib, not /lib64)

share|improve this answer
I had the same thing on Xubuntu14.04.1 64bit, so I'm not sure about marking this answer as "not useful" . If x86_64-linux-gnu is under lib/ instead of lib64/ is that not a Xubuntu thing/mistake? – eugenevd Oct 20 '14 at 12:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.