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
12
votes
3answers
2k 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....
1
vote
1answer
29 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
0answers
28 views

How do I change the env var LD_LIBRARY_PATH by inserting the local path as the FIRST?

I am trying to solve a Matlab crash that I am experiencing by following this solution: https://www.mathworks.com/matlabcentral/answers/1567188-simulink-crash-in-ubuntu-20-04 I successfully followed ...
0
votes
0answers
41 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
1answer
1k 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 ...
0
votes
0answers
46 views

Segmentation fault with kdeinit5 (specifically libc) on a fresh Kubuntu 21.04 install

As said in the title, I received this error every time I took a screenshot. I disabled mutliarch support and it fixed the error with screenshots, but saw it again (may or may not be a result of ...
2
votes
1answer
103 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
1answer
169 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
1answer
313 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/...
0
votes
1answer
3k views

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

Please help me install glibc 2.32. Running 20.04.
0
votes
0answers
55 views

Trying to upgrade from Ubuntu 18.04 to Ubuntu 20.04 and 'Could Not Install' error is returned

I am trying to upgrade from Ubuntu 18.04 to Ubuntu 20.04 (from software updater) and these errors are returned (from top to bottom) : Errors The first one is : Could not Install 'var/cache/apt/...
0
votes
0answers
1k views

libc.so.6: version `GLIBC_{version}' not found (Ubuntu 18.04)

i got problem with my ubuntu 18.04, when am trying to install vmware i got error like this Extracting VMware Installer...done. /bin/bash: libc.so.6: version `GLIBC_2.16' not found (required by /lib/...
0
votes
1answer
316 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 ...
30
votes
4answers
19k 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
1answer
423 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
0answers
115 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/...
0
votes
0answers
260 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 ...
0
votes
1answer
561 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
0answers
488 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
1answer
428 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
1answer
202 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://...
1
vote
1answer
90 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
1answer
2k 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 ...
20
votes
2answers
14k 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 ...
2
votes
1answer
496 views

Whole system is broken after failed libc6 upgrade attempt

I needed to upgrade libc6 from 2.27 to 2.31, but it was not working with apt-get install (it claimed 2.27 is the newest version which is not true) so as suggested by this thread I've downloaded deb ...
0
votes
0answers
1k 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 ...
0
votes
0answers
400 views

GLIBC_2.17 have been installed but still got “`GLIBC_2.14' not found ” error

I am a green hand about linux and I am using a server to run my R code through qsub xx.pbs. When I library "Rcpp" package, I got this error: Error: package or namespace load failed for ‘Rcpp’...
2
votes
1answer
4k views

How to install glibc and glibcxx on Lubuntu 20.04

I want to install GLIBC and GLIBCXX as they are mentioned as "Additional requierements" to install Visual Studio Code. As stated in the title, I'm using Lubuntu 20.04 When search about it, I ...
1
vote
0answers
223 views

Visual Studio Code 1.51.1 not launching on Ubuntu 20.10 (ERROR: GLIBC_2.29' not found)

VSCODE VER: 1.51.1 This shows up with code --verbose: /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/...
0
votes
0answers
39 views

Why free() coredumps on one but not the other?

I have this very simple source code used as a test program: #include <stdio.h> #include <stdlib.h> int main() { FILE *fp; fp = fopen("file.txt", "w"); ...
1
vote
0answers
832 views

downgrade libc6 to 2.23-0ubuntu11.2

I'm running ubuntu16, and last week I installed https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/clang-10_10.0.0-4ubuntu1_amd64.deb.html from ubuntu20 package repository(by simply add ubuntu20 ...
0
votes
0answers
41 views

Terminal no longer works (at all)

I think I've really done on on myself now. So, I've been trying to run steam on Lubuntu and upon startup it reports that I'm missing libc.so.6, so specifically I went to the debian package website, ...
1
vote
1answer
749 views

Operation not permitted

Got trouble with starting one app. Introduction I have Ubuntu-20.04-amd64 with core 5.x on my VDS. I have needed to install other core with some patch. But patch was available for 4.9.158 core version....
0
votes
0answers
968 views

libcrypto.so: undefined reference to `fcntl@GLIBC_2.28'

Am performing ARM cross compilation on x86 and i have a tool chain like below : SET(CMAKE_SYSTEM_NAME Linux) include(CMakeForceCompiler) SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) SET(...
0
votes
1answer
394 views

Compile glibc 2.3 with linuxthreads

I'm trying to compile glibc 2.3 (https://ftp.gnu.org/gnu/glibc/glibc-2.3.tar.gz) with the addon linuxthreads (https://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.tar.gz) under ubuntu 18.04. The ...
1
vote
1answer
72 views

Why do "ping undefinedhost" and "curl undefinedhost" (e.g. libc "gethostbyname") ping / contect to the local host instead of failing?

I have an old Ubuntu 16.04 (LTS) installation and today noticed, that ping and curl are being told (by libc, I assume), that the IP of any unknown host is the same as the IP of the local host (e.g. &...
1
vote
2answers
2k views

libc6-dev header files missing on Ubuntu 20.04

byteswap-16.h contains a macro used in many programmes. On Ubuntu 18.04 this file was part of the libc6-dev package and installed to /usr/include/x86_64-linux-gnu/bits. With 20.04 this file is no ...
3
votes
0answers
11k 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
1answer
311 views

4kvideodownloader launcher doesn't start

About 6 months ago 4kvideodownloader just stopped working. When I try to start the app it shows up on the launcher for 5 seconds and it looks like it's about to open, but it disappears without having ...
1
vote
1answer
284 views

How to install glmnet on R 3.2.3

i need to install glmnet package for my R, but it said it doesn't support the version i installed (3.2.3). I have tried to install R 3.6. the problem i am facing is that to install R 3.6, i need ...
0
votes
0answers
586 views

Prefer AAAA (IPv6) DNS lookups before A (IPv4) lookups

I want AAAA requests first as required by https://www.rfc-editor.org/rfc/rfc8305#section-3 Both queries SHOULD be made as soon after each other as possible, with the AAAA query made first but I ...
2
votes
0answers
3k views

GLIBC_2.27 not found when launching applications through Nautilus

I have VSCode installed and never experienced this issue before, but now after I installed some web camera utilities and video conversion I seemed unable to launch VSCode from Nautilus. What works: ...
1
vote
0answers
8k views

/lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./domoticz)

For my homeautomation I need GLIBC_2.28 or higher. My os is: pi@odroidn2:~$ cat /etc/os-release NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04....
1
vote
0answers
160 views

Receive error "version `GLIBCXX_3.4.23' not found" while trying to reactivate Matlab License

I am trying to reactivate my license for Matlab and I am getting stuck because I cannot click on a link. Here is the link that I cannot click on: When I do try to click on the link, I get this error ...
0
votes
1answer
1k views

Libc Version Error

I used ubuntu 18.04 and I tried to do update libc package from 2.27 to 2.29, turn out its a bad idea and I get an error message every time I try sudo apt-get upgrade The error message : Reading ...
5
votes
0answers
20k views

GLIBC_2.27 not found Ubuntu 16.04

One of the software I want to run needs GLIBC_2.27, and all I see is this error on the console: /lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.27" not found When I run this command ldd --version ...
1
vote
3answers
1k views

How to re-insall libc6 after remove?

I removed libc6 manually (i.e. by sudo apt remove libc6 command) on my Ubuntu 18.04 system and after reboot, there is just grub command prompt: GNU GRUB version 2.02 Minimal BASH_like line editing ...
0
votes
2answers
935 views

Install libpng version 1.6 for Ubuntu 19?

How to install libpng for Ubuntu 19 so that I would be able to open Packet Tracer 7.2.1?
2
votes
1answer
1k views

error: ld-2.27.so in swift on Ubuntu 18.04

I installed swift on my ubuntu 18.04 and when i start i get this error. but the code works fine when i'm writing them, I search some solution to fix this error but the thing is that i will remove the ...
6
votes
3answers
22k 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 ...