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.

Answer from mister_kanister on Stack Overflow
🌐
GNOME Discourse
discourse.gnome.org › development
GLIB : ERROR /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found - Development - GNOME Discourse
January 24, 2024 - But when i tried to run the application ... version `GLIBC_2.34’ not found (required by ./source) Does this mean, GLIB is not backward compatible?...
Discussions

version `GLIBC_2.34' not found when using the command code
You may need to install glibc sudo apt install glibc More on reddit.com
🌐 r/linux4noobs
9
6
August 11, 2023
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLdispatch.so.0)
I created two apptainer containers. The first one has the installation of the Nvidia CUDA Toolkit 11.4.3 with conda. The second one has the installation of TensorRT and all the libraries needed for executing mmpose and mmdeploy code. I have tried all the code in a PC with CUDA Toolkit 11.4.3, ... More on forums.developer.nvidia.com
🌐 forums.developer.nvidia.com
2
0
April 19, 2024
root: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by root) - Stack Overflow
I am very new to this so please be patient with me, my apologies. I am trying to open CERN ROOT using WSL 1 on Window 10 with ubuntu version 20.04. I have installed all the dependencies as directed... More on stackoverflow.com
🌐 stackoverflow.com
docker - /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found - Stack Overflow
I'm having a problem while running container. In my project there are 3 different containers (one for the backend, one for the frontend and one for mongodb), the last two works fine but the first (... More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitHub
github.com › wasp-lang › wasp › issues › 867
How to solve /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34` not found · Issue #867 · wasp-lang/wasp
December 5, 2022 - Below is photo evidence. ... The error means that Wasp 0.7.1 was compiled against GLIBC 2.32 - 2.34 and therefore it requires any of those versions (preferably 2.34 or higher) to run.
Author   wasp-lang
🌐
Reddit
reddit.com › r/linux4noobs › version `glibc_2.34' not found when using the command code
r/linux4noobs on Reddit: version `GLIBC_2.34' not found when using the command code
August 11, 2023 -

Hi, I have recently dualbooted my laptop so im still very much a linux noob and I installed VSCode with the ubuntu software app. When I try to open VSCode nothing happens, and if I use the code command I get the following error:

ERROR: ld.so: object '/usr/local/lib/x86_64-linux-gnu/libinput-config.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.

/snap/code/136/usr/share/code/bin/../code: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/x86_64-linux-gnu/libinput-config.so)

Can someone please help me? I googled it but I can't find a solution. Thanks in advance

Edit:

Fixed it by using sudo vim on the /etc/ld.so.preload file and deleting the line /usr/local/lib/x86_64-linux-gnu/libinput-config.so.

🌐
LinuxVox
linuxvox.com › blog › libx86_64linuxgnulibcso6-version-glibc_234-not-found
Solving the lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found Issue — linuxvox.com
When you encounter an error message ... it indicates that your application is trying to use features or functions provided by the glibc version 2.34, but the installed version on your system is lower....
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › beginner questions
[SOLVED] `GLIBC_2.34' not found - Linux Mint Forums
November 8, 2022 - ldd -v /usr/lib/jvm/java-11-openjdk-amd64/bin/java dpkg -l libc6:amd64 Previous users that have had this issue have reported a successful resolution by purging the existing JDK package and then re-installing it. You could try doing this, but please run the above commands first, as I'd really ...
🌐
NVIDIA Developer Forums
forums.developer.nvidia.com › accelerated computing › ngc gpu cloud › container: cuda
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLdispatch.so.0) - Container: CUDA - NVIDIA Developer Forums
April 19, 2024 - I created two apptainer containers. The first one has the installation of the Nvidia CUDA Toolkit 11.4.3 with conda. The second one has the installation of TensorRT and all the libraries needed for executing mmpose and mmdeploy code. I have tried all the code in a PC with CUDA Toolkit 11.4.3, TensorRT 8.2.3.0 and cuDNN 8.2.1 and works fine.
🌐
Stack Overflow
stackoverflow.com › questions › 77649362 › root-lib-x86-64-linux-gnu-libc-so-6-version-glibc-2-34-not-found-required
root: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by root) - Stack Overflow
sudo apt-get install dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev \ libxft-dev libxext-dev python3 libssl-dev libafterimage0 sudo apt-get install gfortran libpcre3-dev \ xlibmesa-glu-dev libglew-dev libftgl-dev \ libmysqlclient-dev libfftw3-dev libcfitsio-dev \ graphviz-dev libavahi-compat-libdnssd-dev \ libldap2-dev python3-dev python3-numpy libxml2-dev libkrb5-dev \ libgsl0-dev qtwebengine5-dev nlohmann-json3-dev ... Whatever you're starting requires glibc 2.34 and you have 2.31.
Find elsewhere
🌐
Medium
jeonghye-choi.medium.com › how-to-resolve-the-lib-x86-64-linux-gnu-libc-so-6-1a983bcf4721
How to Resolve the /lib/x86_64-linux-gnu/libc.so.6:
July 12, 2024 - The error /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found was caused by a mismatch in the glibc versions used in different stages of the Docker build process.
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED] /usr/lib/libc.so.6: version `GLIBC_2.34’ not found / Newbie Corner / Arch Linux Forums
March 7, 2022 - That's when I realized gnu wasn't up to date. Side note: After running through the history of the Manjaro forum's OP, it seems we both have an issue where we tried to dual boot Linux from a usb on a Windows computer but ended up being stuck in Linux. ... Having the -u on there makes a huge difference. If that's the case, I wonder if you have glibc in IgnorePkg for some reason?
🌐
GitHub
github.com › nomic-ai › gpt4all › issues › 1480
libc.so.6: version `GLIBC_2.34' not found · Issue #1480 · nomic-ai/gpt4all
October 8, 2023 - ./chat => /chat: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./chat) ./chat: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by libllmodel.so.0) ./chat: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by libllmodel.so.0) ./chat: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by libllmodel.so.0) ./chat: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /home/vladbph/gpt4all/bin/../lib/libxkbcommon.so.0) ./chat: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34'
Author   nomic-ai
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › c/c++
how to resolve 'glibc_2.34 not found' - Raspberry Pi Forums
Alternatively, you could distribute your application as a flatpack, or run your application in a Docker container, using the same OS image on all Pis. Both of these options eliminate many of the dependency management and glibc version issues. ... OK, I have looked into this in more detail. On the plus side: Providing I have static libraries available, I can use static linking.
🌐
Docker Community
forums.docker.com › docker hub
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found - Docker Hub - Docker Community Forums
July 4, 2024 - Hello, I’m having a problem while running container. In my project there are 3 different containers (one for the backend, one for the frontend and one for mongodb), the last two works fine but the first (the one for the backend) gives me the following error: backend-1 | backend: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by backend) backend-1 | backend: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by backend) backend-1 | backend...
Top answer
1 of 3
65

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.

2 of 3
28

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:

  1. Download libc6 and libc6-dev from Ubuntu 12.04 LTS

  2. 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/
    
  3. Run your command with specified LD_LIBRARY_PATH:

    $ LD_LIBRARY_PATH=/home/user/fakeroot/lib/x86_64-linux-gnu/ YOUR_COMMAND
    
  4. My 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.

🌐
Reddit
reddit.com › r/rust › problem when running on ubuntu 20.04
r/rust on Reddit: Problem when running on Ubuntu 20.04
August 10, 2023 -

When i tryed to run my app with Ubuntu 20.04, i got a error :

asbackup: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by asbackup)
asbackup: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by asbackup)
asbackup: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by asbackup)

I trying to find a web some guide, but i don't know how to fix this

Top answer
1 of 2
2
I've had a similar problem. My solution was to build the app in a Ubuntu docker container and then copy the resulting binary from that container. The Dockerfile I've used looked like this: # Dockerfile for building a rust executable that can be run on a specific Ubuntu version (and newer) FROM ubuntu:20.04 RUN apt update && apt -y install curl build-essential RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN ~/.cargo/bin/rustup update WORKDIR /rust/build/ COPY Cargo.toml Cargo.toml COPY Cargo.lock Cargo.lock # Docker will cache a step as long as there haven't been any changes to the files. # This will download and build all the dependencies and will re-run only when Cargo.toml/Cargo.lock will change RUN mkdir -p src/bin && echo "fn main() {}" > src/bin/docker_cache.rs && /bin/bash -c "source ${HOME}/.cargo/env && cargo build --release --bin docker_cache && exit 0" COPY . . RUN ["/bin/bash", "-c", "source ${HOME}/.cargo/env && cargo build --release"] # USAGE: # docker build -t tmp/ubuntu20:build # if [ $? == 0 ]; then # docker container create --name extract tmp/ubuntu20:build # docker container cp extract:/rust/build/target/release/EXECUTABLE_NAME ./ # docker container rm extract # fi Edit: reddit did terrible things to formatting, this will hopefully be fixed now
2 of 2
1
Eugay is correct, but also want to add that instead of statically compiling with musl, you can also decide to maintain a "Ubuntu 20.04" version. To do so, just put your source code onto Ubuntu 20.04 and compile it there. The resulting binary will then be able to run on Ubuntu 20.04.
🌐
Lazarus
forum.lazarus.freepascal.org › index.php
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
July 6, 2023 - /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found · Free Pascal · Website · Downloads · Wiki · Documentation · Bugtracker · Mailing List · Lazarus · Website · Downloads (Laz+FPC) Packages (OPM) FAQ · Wiki · Documentation (RTL/FCL/LCL) Bugtracker ·
🌐
GitHub
github.com › JabRef › jabref › issues › 10088
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found · Issue #10088 · JabRef/jabref
July 17, 2023 - JabRef version Latest development branch build (please note build date below) Operating system GNU / Linux Details on version and operating system OS: Ubuntu Sway 23.04 x86_64, Host: ASUSTeK COMPUTER INC. FA506IH, Kernel: 6.2.0-24-generi...
Author   JabRef