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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 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-...
waris's user avatar
  • 1
0 votes
3 answers
181 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 ...
Kode1000's user avatar
-3 votes
1 answer
55 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/...
CREATESOMETHING's user avatar
1 vote
0 answers
202 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 ...
HANSEMINATOR's user avatar
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 ...
nico_265's user avatar
0 votes
0 answers
82 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 ...
sleeperservice's user avatar
0 votes
1 answer
94 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 ...
Eswar Reddy's user avatar
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 ...
morpheus's user avatar
  • 139
0 votes
0 answers
119 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 ...
Brandon Pyle's user avatar
0 votes
0 answers
237 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 ...
The Cool Man's user avatar
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 ...
aug7744's user avatar
  • 19
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....
LearnDude's user avatar
0 votes
1 answer
468 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 ...
Olumide's user avatar
  • 569
0 votes
0 answers
68 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 ...
mauricev's user avatar
2 votes
1 answer
319 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 ...
user0193's user avatar
  • 123
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 ...
MandiYang's user avatar
  • 2,009
0 votes
1 answer
119 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 ...
Seamus's user avatar
  • 626
0 votes
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/...
falamiw's user avatar
  • 101
1 vote
0 answers
7k 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 ...
Chaztikov's user avatar
1 vote
1 answer
599 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 ...
rei's user avatar
  • 11
0 votes
0 answers
134 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 ...
Yes's user avatar
  • 101
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/...
mn Stoner's user avatar
12 votes
1 answer
36k 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?
Jack M's user avatar
  • 1,290
0 votes
2 answers
398 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 ...
Mark's user avatar
  • 507
1 vote
1 answer
257 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 ...
U.V.'s user avatar
  • 201
0 votes
0 answers
447 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 ...
c0deltin's user avatar
0 votes
0 answers
125 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/...
Dorian Rosse's user avatar
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 ...
lcfc's user avatar
  • 91
4 votes
1 answer
5k 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 ...
user1785730's user avatar
13 votes
2 answers
39k 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 ...
Markus Gratis's user avatar
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....
Bram's user avatar
  • 2,439
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 ...
littleworth's user avatar
0 votes
0 answers
465 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, ...
Stryker2k2's user avatar
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 ...
spacefluff432's user avatar
2 votes
1 answer
3k 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 ...
Fengkai Sun's user avatar
1 vote
1 answer
602 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 ...
Rohit Nagpal's user avatar
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/...
A D's user avatar
  • 103
7 votes
1 answer
61k views

How to Install glibc 2.32 when I already have glibc2.31

Please help me install glibc 2.32. Running 20.04.
Neo's user avatar
  • 115
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 ...
Aleksey Bilogur's user avatar
32 votes
4 answers
34k 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 &...
usretc's user avatar
  • 453
1 vote
1 answer
824 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 ...
Vincent's user avatar
  • 121
0 votes
0 answers
383 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/...
Dakshin's user avatar
  • 111
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 ...
Marietto's user avatar
  • 565
1 vote
1 answer
4k 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/...
user1424739's user avatar
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 ...
Marietto's user avatar
  • 565
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 ...
Marietto's user avatar
  • 565
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://...
user1424739's user avatar
2 votes
1 answer
322 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 ...
Vsevolod Gromov's user avatar
0 votes
1 answer
9k 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 ...
GQ.'s user avatar
  • 21
37 votes
4 answers
115k 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 ...
rtpenick's user avatar
  • 471