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.
178 questions
1
vote
0
answers
149
views
Why does glibc 2.40 give a make check error on #27~22.04.1-Ubuntu?
I am trying to compile glibc 2.40 in Ubuntu 22.04.
make check shows error:
make[2]: Entering directory '/home/xray/Documents/sw/glibc-2.40/iconv'
Generating locale C.UTF-8: this might take a while...
/...
0
votes
0
answers
50
views
libstdc++ version conflict with mesa dri
I know the question seems to be similar to some other ones, but I think it is somewhat different. I am trying to launch a commercial application (ANSYS). I have installed all dependencies according to ...
-2
votes
3
answers
445
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-...
2
votes
0
answers
3k
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[...
0
votes
0
answers
208
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-...
1
vote
3
answers
4k
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 ...
-3
votes
1
answer
79
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
715
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 ...
0
votes
1
answer
219
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 ...
0
votes
0
answers
2k
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
...
0
votes
0
answers
421
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
3k
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 ...
9
votes
1
answer
5k
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....
0
votes
1
answer
629
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
98
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 ...
2
votes
1
answer
521
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 ...
0
votes
1
answer
157
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 ...
1
vote
0
answers
4k
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/...
2
votes
0
answers
9k
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
789
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 ...
0
votes
0
answers
183
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 ...
1
vote
1
answer
5k
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/...
14
votes
1
answer
64k
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
2
answers
505
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
1
answer
316
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
542
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
184
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 ...
5
votes
1
answer
7k
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 ...
14
votes
2
answers
49k
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 ...
12
votes
3
answers
5k
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
3k
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 ...
0
votes
0
answers
563
views
How to you compile glibc (32-bit and 64-bit)?
I have a program that is being shipped out for multiple Linux platforms and requires all of the references to be compiled within the executable itself.
I've gather that they would need to be compiled, ...
0
votes
1
answer
4k
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 ...
2
votes
1
answer
4k
views
How to recover from a corrupted glibc on Ubuntu 20.04 server
Given a second chance I would double check it, but I accidentally run sudo ln -sf something /usr/lib/x86_64-linux-gnu/libc-2.31.so. And there is not another copy of glibc because this is the real ...
1
vote
1
answer
644
views
How to compile .so file in Ubuntu with GLIBC_2.27
I have an executable and some .so file in Ubuntu 20.04 but I need to use these .so files in Ubuntu 18.04. Now, when I try to copy and use these .so files in Ubuntu 18.04, it is giving me error which ...
0
votes
1
answer
3k
views
missing libm.so.6 and libstdc++.so.6
I have a program that I compiled through qt creator and appears to work fine on my computer but I'm trying to run it on a remote computer cluster and it spits out these error messages.
./programs/...
9
votes
2
answers
88k
views
How to Install glibc 2.32 when I already have glibc2.31
Please help me install glibc 2.32. Running 20.04.
1
vote
1
answer
2k
views
XGBoost fails with GLIBCXX_3.4.26 not found error on Ubuntu 18.04
I'm attempting to run some code that calls into XGBoost on a Ubuntu 18.04 machine. This code fails with AttributeError: 'XGBoostCostModel' object has no attribute 'pool', with the root cause:
Error ...
33
votes
4
answers
35k
views
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 &...
1
vote
1
answer
922
views
Update to 20.10 failed silently, now can't update due to package version mismatch with libc-bin and libc6:i386 / libc6:amd64
I am on Pop OS, which hews very closely to Ubuntu. A few days ago I tried to update my workstation from Pop OS 20.04 to 2010 by following the instructions on System 76's website by running
sudo apt ...
0
votes
0
answers
436
views
Installing libc6:amd64 on arm64 removes all system packages
I'm trying to install libc6:amd64 on an ARM64 ubuntu machine following this guide
As per the instructions there I added the following to my sources.list:
deb [arch=amd64] http://archive.ubuntu.com/...
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 ...
1
vote
1
answer
5k
views
About files in /usr/include/x86_64-linux-gnu
I see libc6-dev have files installed in /usr/include/x86_64-linux-gnu.
It seems that files in /usr/include/x86_64-linux-gnu/sys are pointed by symlinks from /usr/include/sys. And it seems that /usr/...
0
votes
0
answers
1k
views
How to enable selectively glibc 2.33 only for qemu 5
I'm trying to virtualize windows 10 arm64 on the jetson nano where I have installed ubuntu 18.04 arm64 (I can't upgrade it to ubuntu 20.04 because nvidia does not support it). To get the best ...
0
votes
1
answer
2k
views
how to compile glibc on ubuntu 18.04 from source on a different folder
I'm trying to virtualize windows 10 arm64 on the jetson nano where I have installed ubuntu 18.04 arm64 (I can't upgrade it to ubuntu 20.04 because nvidia does not support it). To get the best ...
0
votes
1
answer
1k
views
Where is the source code of libc6-dev-i386 from?
I see this. Where the source of libc6-dev-i386 is from?
$ apt-file search /usr/include/sys/socket.h
libc6-dev-i386: /usr/include/sys/socket.h
https://packages.debian.org/search?keywords=libc6
https://...
2
votes
1
answer
415
views
Major changes in sorting method of glibc on Ubuntu 18.04 after upgrading to Ubuntu 18.04.5
I had an Ubuntu 18.04.0 with Postgres 9.6.
Before Ubuntu upgrade following command result was:
vodka@ubuntu140:~$ ( echo "1-1"; echo "11" ) | LC_COLLATE=en_US.UTF-8 sort
1-1
11
...
0
votes
1
answer
11k
views
node:/usr/lib64/libstdc++.so.6:version GLIBCXX_3.4.14, GLIBCXX_3.4.18, CXXABI_1.3.5, GLIBCXX_3.4.15, GLIBC_2.17, GLIBC_2.16 and GLIBC_2.14 not found
While running
node -v
it shows the below error:
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not ...