one possible solution is to add this repo if you do not already have access to the package, as mentioned in the link:
You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://security.ubuntu.com/ubuntu jammy-security main
then you should be able to install the missing package:
Copysudo apt update
sudo apt install libc6
Answer from Paizo on Stack Overflowdocker - /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found - Stack Overflow
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
Problem: nothing provides 'libc.so.6(GLIBC_2.34)(64bit)'
Updating my 15.5 ask me 'libc.so.6(GLIBC_2.38)(64bit)'
one possible solution is to add this repo if you do not already have access to the package, as mentioned in the link:
You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://security.ubuntu.com/ubuntu jammy-security main
then you should be able to install the missing package:
Copysudo apt update
sudo apt install libc6
The "buster" debian version is pretty old, and delivers a pretty old (2.28) glibc, which explains why you'd be missing the more modern glib symbols:
$ docker run -it debian:buster-slim /usr/bin/ldd --version
ldd (Debian GLIBC 2.28-10+deb10u3) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
You can use a newer version of debian to get them, e.g., "bookworm":
$ docker run -it debian:bookworm-slim /usr/bin/ldd --version
ldd (Debian GLIBC 2.36-9+deb12u7) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
To consume it, just replace the image name in the second FROM directive:
Copy# Stage 2: Create a lightweight image for the Rust app
FROM debian:bookworm-slim
Hello! I recently switched from endeavouros to openSUSE Tumbleweed.
I tried installing some softwares(stubby,nheko) with opi.
Both of them had this issue :
Problem: nothing provides 'libc.so.6(GLIBC_2.34)(64bit)' needed by the to be installed stubby-1.5.2-2.404.x86_64
I tried ignore and install software, it does create application shortcut but i can't launch them.
I think this is because of outdated glibc. Did anyone managed to fix this issue?
Ubuntu uses the Debian packaging format, and so you cannot sensibly install RPMs on a Deb based distribution. While it is possible to install the rpm tool, the package dependencies don't integrate with those of Deb packages, and the contents of packages may not necessarily work either.
The best solution is to find a Deb package of the software you want, and the next best option is to build it into a Deb package yourself (which is a fair amount of work). If those are not possible, the last resort is to try using alien to convert the RPM into a Deb. You will still need to deal with the dependencies manually, and possible with changes done in package scripts.
"alien" works for me:
$ sudo apt-get install alien
$ sudo alien VMware-vPostgres-client-1.0.1.1145-532311.x86_64.rpm
vmware-vpostgres-client_1.0.1.1145-532312_amd64.deb generated
$ sudo dpkg -i vmware-vpostgres-client_1.0.1.1145-532312_amd64.deb
...
Unpacking vmware-vpostgres-client (from vmware-vpostgres-client_1.0.1.1145-532312_amd64.deb) ...
Setting up vmware-vpostgres-client (1.0.1.1145-532312) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
I've got this error with buildroot-2022.11 when executing make.
Ubuntu 20.04 - added this repo as described in the link
sudo apt update
sudo apt install libc6
It automatically installed 2.35 for me.
In my case, replace FROM go:1.21 with FROM go:1.21.0-bullseye (docker) or try tinkering there.
That means the program was compiled against glibc version 2.14, and it requires that version to run, but your system has an older version installed. You'll need to either recompile the program against the version of glibc that's on your system, or install a newer version of glibc (the "libc6" package in Debian).
Debian has glibc 2.16 in the "experimental" repository, but recompiling the program is the safer option. Glibc is the library that everything depends on, so upgrading it can have far-reaching implications. Although there's probably nothing wrong with Debian's glibc 2.16 package, the fact that it's in the experimental repository means it hasn't received as much testing.
I have posted my solution here, repost it for reference.
In my situation, the error appears when I try to run an application (compiled on Ubuntu 12.04 LTS) using GLIBC_2.14 on Debian Wheezy (which installs glibc 2.13 by default).
I use a tricky way to run it, and get correct result:
Download libc6 and libc6-dev from Ubuntu 12.04 LTS
Run dpkg command to install them into a directory (/home/user/fakeroot/ for example):
$ dpkg -x libc6-dev_2.15-0ubuntu10.6_amd64.deb /home/user/fakeroot/ $ dpkg -x libc6_2.15-0ubuntu10.6_amd64.deb /home/user/fakeroot/Run your command with specified LD_LIBRARY_PATH:
$ LD_LIBRARY_PATH=/home/user/fakeroot/lib/x86_64-linux-gnu/ YOUR_COMMANDMy application only uses memcpy() from GLIBC_2.14, and it works.
I don't know whether it will work successfully for other applications. Wish it helpful.