Questions tagged [glibc]
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.
180
questions
0
votes
0
answers
565
views
dpkg and insserv error when installing any package [duplicate]
When I try to install any package the following error occurs:
insserv: There is a loop between service runlcactivator and dns-clean if started
insserv: loop involving service dns-clean at depth 1
...
6
votes
1
answer
3k
views
Ubuntu 22.04: Both eye of gnome and gimp failing with undefined symbol error
Since a few days both eog and gimp fail when launched from the command line. I get the same error message from both:
gimp: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so....
-2
votes
3
answers
47
views
libc6 dependency mismatch
I've created a Frankenstein's monster by adding Kali stuff to my source list like mentioned in this guide: https://medium.com/@sany4sec/how-to-install-kali-linux-tools-in-ubuntu-or-linux-mint-...
0
votes
0
answers
212
views
How to install glibc 2.31 from source on Ubuntu 22.04
I am trying to compile glibc 2.31 on Ubuntu 22.04 LTS.
I followed a this answer as a template, which was incredibly helpful.
My issue is that there are undefined references when I run make:
...
make[...
3
votes
2
answers
17k
views
DNS cannot resolve hosts
I recently upgraded my ubuntu and suddenly lost DNS. By the looks of it, its related to https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674532. But I cannot run the update to fix the issue ...
0
votes
0
answers
85
views
glibc version issue while using prisma on ubuntu
I got this error while using prisma in Nextjs on ubuntu :
Unhandled Runtime Error
Error:
Invalid prisma.user.findUnique() invocation:
Unable to require(/media/waris/DEV/My courses/nextjs-prisma/blog-...
0
votes
3
answers
579
views
Find default library paths location in Ubuntu
I'm on an Ubuntu 22.04 system and I'm working with C language and libraries.
I know (from different books, included "The Linux Programming Interface" by Kerrisk) that this algorithm is used ...
38
votes
4
answers
121k
views
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 ...
-3
votes
1
answer
56
views
Getting error while working with AXI DRAW on Inkscape
While working with AXI DRAW control as an extension of AXI DRAW on Inkscape we are getting the following error on Ubuntu 20.04 pc with GLIBC 2.31
[8092] Error loading Python lib '/home/user/.config/...
1
vote
0
answers
308
views
Setting up dpkg Multiarch on Ubuntu 22.04, libc dependency error
I want to do cross-compilation for my Beaglebone Black and use packages managed by APT.
I've already installed the crossbuild-essential-armhf package, so I do have a toolchain that is able to build ...
12
votes
1
answer
41k
views
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?
0
votes
0
answers
8
views
libc-bin:i386 Issue [duplicate]
Ubuntu Jammy 22.04
I installed for an old game on lutris a new version (2.38) libc-bin:i386 from an external source. Now I destroy the system. I cant remove this package with apt or dpkg and i cant ...
0
votes
0
answers
97
views
Why does accessing thread-local-storage (TLS) in library loaded by statically linked dlopen segfault?
I have an exe linked with gcc -static that uses dlopen to load a shared library. The library tries to access a variable in thread-local-storage (TLS). Running the application segfaults when we attempt ...
0
votes
1
answer
126
views
Version scheme change of libc6 libraires from focal to jammy
Hello Ubuntu community,
I notice that the Version scheme changes on libc6 libraries from focal to Jammy (i.e On the jammy libc6 packages i observe that on the libraries name minor version has been ...
11
votes
4
answers
23k
views
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 ...
4
votes
1
answer
7k
views
GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
When trying to execute any c++ programs, I get this error. The full error message is:
./main: relocation error: ./main: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev, version ...
0
votes
0
answers
1k
views
error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
I was debugging an error on my system (debian linux) and part of that I renamed the libc.so.6 file to something else.
$ sudo mv libc.so.6 libc-2.28.so.6
Now none of my bash commands will work.
$ ls
...
4
votes
1
answer
19k
views
GLIBC_PRIVATE not defined in file libc.so.6 [closed]
I am trying to run Rstudio. And it is just not working. It worked last week when I installed it for the first time, but now that I need to use it, it doesn't. I've been trying for 5 hours, so this is ...
0
votes
0
answers
135
views
Ubuntu Linux segfault when transferring files over SFTP
I am trying to transfer movie files over SFTP to my Ubuntu server in order to load them to my Jellyfin Docker instance, but every time I try to transfer a file I get a segfault error.
I am running ...
0
votes
0
answers
266
views
Install glibc in another location
I messed up my install of Ubuntu on another computer. I decided to plug in the drive to another Ubuntu machine and make install it. I'm trying my best to not corrupt the other machine. Here's what I ...
0
votes
0
answers
2k
views
How unistall glibc 2.35 installed in Ubuntu 20.04.5?
Thanks for reading my topic.
I had tried start the Bforartists-3.5.0-linux
but not start and show error message
./bforartists: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required ...
12
votes
7
answers
98k
views
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 ...
8
votes
1
answer
66k
views
How to Install glibc 2.32 when I already have glibc2.31
Please help me install glibc 2.32. Running 20.04.
14
votes
1
answer
47k
views
'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 ...
0
votes
1
answer
505
views
Accidentally downgraded libstdc++6:amd64 from 12.1.0-2ubuntu1~22.04 to 10-20200411-0ubuntu1
Why trying to get debug symbols for gcc/g++, I accidentally downgraded libstdc++6:i386 and libstdc++6:amd64 from 12.1.0-2ubuntu1~22.04 to 10-20200411-0ubuntu1 by running the following commands
wget ...
0
votes
0
answers
74
views
Can't login on terminal Ubuntu 20.04 (glibc related?)
I can't login anymore neither on an Ubuntu 20.04 terminal nor by graphical login. The screen casts a pretty regular message and within a fraction of a second logs me out again.
The last activity I've ...
0
votes
1
answer
123
views
Why is `man 3 printf` almost one year behind `glibc ver 2.35`?
glibc ver 2.35 was released 0n Feb 3, 2022, and added the %b and %B binary conversion specifiers. This is a long wished-for feature to display values as a string of "ones and zeros". I'd ...
2
votes
1
answer
349
views
How Mere Compiling Broke the System?
I was attempting to just compile glibc version 2.31, by first installing the dependencies by running:
and then glibc as stated here:
mkdir /home/machine/Desktop/glibc-build
then change it to current ...
4
votes
1
answer
1k
views
Nmap service detection Segmentation fault (core dumped)
The Problem
When I use nmap with the service detection flag(-sV) I get a Segmentation fault at the end of the scan. It doesn't matter which IP Address or domain, as long as it can scan it. I am using ...
1
vote
0
answers
3k
views
How to use glibc 2.33 when I already have glibc2.31
To install WRF-ARW, I faced an issue with glibc. Like when I tried
gfortran TEST_1_fortran_only_fixed.f && ./a.out
I got the following error:
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/...
14
votes
2
answers
41k
views
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 ...
2
votes
0
answers
8k
views
Ubuntu 22.04 issue, cannot install libc6-dev ... you have held broken packages
I do not know how to fix the following, and it's causing a huge delay on my progress on a research project:
(base) chaztikov@priority:~/git/modulus$ sudo apt-get install libc6-dev
Reading package ...
1
vote
1
answer
675
views
execute bit on libc.so.6
It seems starting in ubuntu 22.04 the execute bit is no longer set on /lib/x86_64-linux-gnu/libc.so.6. This throws off some scripts and methods to find out the glibc version being used. Could that bit ...
1
vote
1
answer
3k
views
libpthread.so.0: version `GLIBC_2.30' not found
I'm trying to run immersed executable and I get the following errors:
Immersed: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not
found (required by Immersed)
Immersed: /lib/x86_64-linux-gnu/...
0
votes
1
answer
3k
views
apt: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /usr/lib/aarch64-linux-gnu/libapt-pkg.so.5.0)
I think that I did an huge mistake trying to install the wrong libc6 package on my ubuntu 18.04 (arm64) installed on my jetson nano because now the os is not working at all anymore and I don't know ...
8
votes
1
answer
48k
views
Version `GLIBC_2.28' not found
I'm trying to install PyTorch on ARMv7(32-bit) architecture but PyTorch doesn’t have official ARMv7 builds so i tried this unofficial build.
It installed successfully but when I import torch I get ...
0
votes
0
answers
143
views
How to find the environment variable for a file?
I am using the custom package manager spack to manage the packages on my system, including gcc.
I have created the exact same spack installation setup on two computers and want to run a software that ...
2
votes
1
answer
5k
views
Kernel panic after attempting to install glibc
I was installing glibc v2.18 and suddenly the install (make install) halts with an error. Afterwards, any basic terminal commands (ls, sudo, etc.) and attempting to perform system operations (...
0
votes
2
answers
414
views
Install 20.04 system libraries in 21.10
I'm facing a weird problem. I develop Qt/C++ applications. Until yesterday my dev machine and the target ones were both running Ubuntu 20.04.
Yesterday I had to upgrade my dev machine to 21.10 in ...
1
vote
0
answers
9k
views
/lib/libc.so.6: version `GLIBC_2.14' not found on a ubtuntu machine
I have an internet-less ubuntu server (amd64) which is accessed via ssh. To install a package i installed "libc6-udeb_2.13-38+deb7u10_amd64.udeb" which messed up everything. Now i get this error
...
1
vote
1
answer
267
views
cannot install winehq-stable due to broken packages on 20.04 upgraded from 18.04
I found this article
Unable to install wine32 due to broken packages
but this is not quite the end of the story for me.
After digging down the dependency trees it seems that the underlying cause were ...
0
votes
0
answers
468
views
Upgrading BlueZ failes with: Install GLib >= 2.28 is required
I'm trying to connect my Keychron K3 keyboard with my PC via bluetooth, but the keyboard is not listed. So I've tried it on my office laptop there it works.
Both devices running Ubuntu 21.10 with ...
0
votes
0
answers
148
views
configure seems missing for glibc
I have follow the INSTALL documentation for run your command line advice but the glibc program unwant to do your advice,
the command line is the following :
root@ubuntu-ThinkPad-X250:/home/ubuntu/...
9
votes
1
answer
2k
views
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 ...
0
votes
1
answer
3k
views
Problem with libc6 and libc6-amd64 while attempting to upgrade to libc6 2.34
So the core of the problem started after Ubuntu prompted me to upgrade. I am on Ubuntu 18.04.5 (Bionic Beaver). After the upgrade, I tried starting my browser to no avail. So I navigated to the binary ...
4
votes
1
answer
6k
views
How to install libc6-i386 in Ubuntu 20.04 focal?
Duplicate?
In the linked question I've posted my sources.list and it was deemed nothing out of the ordinary. So how could my question be a duplicate of fixing sources.list? How is that even remotely ...
1
vote
1
answer
3k
views
Inconsistency detected by ld.so: elf_get_dynamic_info: Assertion `info[DT_RUNPATH] == NULL' failed! trying to run qemu using glibc-2.33
For educational pourpoise I would like to run the latest version of qemu using glibc-2.33,instead of glibc installed as default on the 18.04. The final goal is to virtualize windows 10 arm64 on the ...
12
votes
3
answers
4k
views
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....
2
votes
1
answer
2k
views
How to install libg2c.so.0 on Ubuntu 18.04 64bit
I'm using:
Linux ip-172-31-28-209 5.4.0-1059-aws #62~18.04.1-Ubuntu SMP Fri Oct 22 21:51:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I encounter an error while running a program:
while loading shared ...
9
votes
2
answers
30k
views
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 ...