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]
182 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,912
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
40
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
- 2,149
- 7
- 24
- 37
40
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
- 509
33
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
- 463
29
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
- 429
16
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
- 331
- 4
- 13
15
votes
1 answer
How can I get glibc 2.35 on Ubuntu 20.04?
I'd like to update to a 2022 version of glibc, at least 2.35. This seems to be available on Ubuntu 22.04, but how can I get it on 20.04?
Jack M
- 1,648
- 3
- 21
- 36
15
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
- 757
14
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
- 251
- 1
- 2
- 7
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
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
- 3,699
12
votes
5 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
- 237
11
votes
2 answers
How to Install glibc 2.32 when I already have glibc2.31
Please help me install glibc 2.32. Running 20.04.
Neo
- 155
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
- 343