Missing /lib/libc.so.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?

4

4 Answers

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

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)

1

you need to run

sudo apt install ia32libs

I was facing the same issue..... Try this command:sudo apt-get install lib32z1


Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like