glibc is the GNU C Library, which provides many common and important functions for programs. Almost every program in Ubuntu directly or indirectly depends on this, and will completely fail to run without it. Besides the kernel, glibc is probably the most essential part of the system; even the init daemon requires it. In Ubuntu, glibc is provided by the libc6 package.
Questions tagged [glibc]
176 questions
68
votes
13 answers
apt: relocation error: version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
Since trying to upgrade to 16.04 xenial, I'm getting
$ apt
apt: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0:
symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_,
version GLIBCXX_3.4.21 not defined in file…
Nico Schlömer
- 1,892
- 3
- 17
- 25
66
votes
3 answers
libc.so.6: version `GLIBC_2.14' not found
Whenever I try to run a program from the terminal (apt-get for example) I get a:
apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libstdc++.so.6)
Not just with apt-get, but with gimp-2.8, vlc, and other…
b-fuze
- 661
- 1
- 5
- 4
36
votes
2 answers
Upgrading glibc
I just read here that there is security bug in glibc and that it is already fixed.
I found out, that the actual installed version of glibc can be shown by ldd --version. My systems runs version 2.19.
So I want now to upgrade it but I don't know how…
eDeviser
- 1,989
- 7
- 20
- 37
34
votes
4 answers
Unmet dependencies. Libc6 The package system is broken
Whenever I try to upgrade or install a new package i get the following
ibc6-dbg: Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.1 is installed \
libc6-dev: Depends: libc6 (= 2.31-0ubuntu9.2) but 2.31-0ubuntu9.1 is installed \
…
rtpenick
- 441
- 1
- 4
- 3
32
votes
4 answers
mainline kernel now depends on libc6 2.33, non-installable in focal?
I've been happily installing 5.10 mainline kernels (from https://kernel.ubuntu.com/~kernel-ppa/mainline/) on my Ubuntu 20.04.
Trying to update to 5.10.33, I discovered an unwelcome dependency on libc >=2.33 (focal is at 2.31) for the -headers…
usretc
- 443
- 1
- 4
- 8
28
votes
4 answers
How to fix E: Internal Error, No file name for libc6
How to fix E: Internal Error, No file name for libc6, Like that will show If I do:
$ sudo apt-get upgrade
or
$ sudo apt-get install package
This is example :
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree …
Loren Ramly
- 419
- 2
- 6
- 6
15
votes
2 answers
Why Ubuntu uses eglibc instead of glibc?
I checked for the libc version on my Ubuntu 64bit 12.10 machine by issuing the command ldd --version.
I saw that Ubuntu uses eglibc instead of glibc. As egiblc is for embedded machines, Is there a specific reason why Ubuntu uses it instead of the…
abhi
- 321
- 4
- 13
14
votes
1 answer
'GLIBC_2.25' not found on Ubuntu (Windows Subsystem for Linux)
I have following error on Ubuntu 16.04 (Windows Subsystem for Linux)
/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.25' not found
I've already tried:
apt-get update
apt-get install libc6
It seems, system have the newest libc6 since it…
Some One
- 149
- 1
- 1
- 3
13
votes
2 answers
How to upgrade libc6 (glibc) beyond v 2.31 on Ubuntu 20.04?
I am using the Stockfish chess engine within some GUI, but yesterday it stopped working. I hadn't changed the engine, nor the interface, but when I tried to run the engine it "terminated with code...", but it didn't output any code. The only thing…
Markus Gratis
- 685
- 4
- 16
- 28
12
votes
3 answers
Why is a 21.10 built binary not compatible with 21.04 install?
I don't understand why a binary built on 21.10 is not compatible with an 21.04 system.
The binary is linked against libc.so.6 which is available on the 21.04 OS version as well.
Same binary, on the 21.10 system:
$ ldd turboledzd
linux-vdso.so.1…
Bram
- 2,169
- 24
- 42
11
votes
7 answers
version `GLIBCXX_3.4.26' not found even though libstdc++.so.6 recent enough
I realize there are many questions like this, but the difference from the others is that my libstdc++.so.6 actually does appear to be up to date enough (see below for the strings it exports). This is an error that comes up when trying to load a…
Diederick C. Niehorster
- 221
- 1
- 2
- 7
11
votes
4 answers
How can I fix a missing/renamed libc.so.6?
The reason that I need to somehow become root without typing sudo is because
error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory
I used sudo to have sudo mv /lib64/libc.so.6…
Hao
- 225
- 1
- 2
- 7
10
votes
2 answers
libc.so.6: version `GLIBC_2.16' not found
When importing a library (cdms2) in python, I get the following error message:
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found (required by /usr/local/uvcdat/1.3.1/Externals/lib/libcurl.so.4)
My version of libc6 is…
Bruno von Paris
- 333
- 2
- 3
- 11
9
votes
1 answer
How to update glibc on ubuntu 20.04 due to security vulnerability
I am trying to update glibc 2.31-0ubuntu9.2. As an internal scan has picked this up as vulnerable.
https://nvd.nist.gov/vuln/detail/CVE-2021-33574#range-6777140
When I use sudo apt-get update then sudo apt install glibc I am getting nowhere with…
lcfc
- 91
- 3
9
votes
2 answers
Compilation of m4 1.4.10 to 1.4.18 fails due to "Please port gnulib freadahead.c to your platform!" on Ubuntu 18.10
The building of tarball releases of GNU m4 1.4.10 to 1.4.18 (didn't test all hotfix versions, but I assume the error is consistent among this range) with ./configure && make -j1 and git git repository http://git.savannah.gnu.org/r/m4.git with…
Kalle Richter
- 5,935
- 20
- 69
- 101