Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

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
1  
possible duplicate: askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing. –  green7 Sep 16 '12 at 10:51
    
Try to find it in any directory: locate libc.so –  Timo Sep 16 '12 at 10:51
add comment

2 Answers

up vote 0 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/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
share|improve this answer
add comment

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)

share|improve this answer
add comment

Your Answer

 
discard

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.