6

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

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

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

What should I do to resolve this dependency?

3

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/libc.so.6 /lib64/libc.so.6

For 32-bit Ubuntu:

sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6
1

On my 64-bit Ubuntu it needed to be:

sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so.6

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

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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