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
Discussions

/lib64/libc.so.6: version `GLIBC_2.26' not found
hi all, trying to run aspera connect plugin on a centos 7 machine but im getting this error when im trying to install /lib64/libc.so.6: version `GLIBC_2.26’ not found ive tried to install yum install glibc but no joy thanks, rob More on community.spiceworks.com
🌐 community.spiceworks.com
3
5
April 24, 2023
Gpg: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by gpg)
So I have been trying to fix this myself in order to learn more but I am stuck with anything to do with pacman I have seen from other discussions here and on other forums different things and have followed many wiki’s and guides but no progress. Also currently /etc/pacman.conf is set to SigLevel ... More on forum.manjaro.org
🌐 forum.manjaro.org
0
0
December 21, 2023
hugo: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by hugo)
What version of Hugo are you using (hugo version)? hugo_extended_0.88.0_Linux-64bit.deb $ hugo version hugo: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by hugo) D... More on github.com
🌐 github.com
10
September 3, 2021
Version GLIBC not found and target not found?
Retry after running sudo pacman -Syu. More on reddit.com
🌐 r/linuxquestions
12
12
October 15, 2022
🌐
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 - If that's the case, I wonder if you have glibc in IgnorePkg for some reason? If that's the case, a whole lot of things, including pacman will be totally broken. You'll have to boot an install disk and use pacman from there with the --root option. ... Please post the output of pacman-config. No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan Closing -- for deletion; Banning -- for muppetry. - jasonwryan ... sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by sudo) sudo: /usr/lib/libc.so.6: version GLIBC_2.34 not found (required by /usr/lib/sudo/libsudo_util.so.0)
🌐
Red Hat
access.redhat.com › solutions › 1285263
Why does the application give an error "/lib64/libc.so.6: version `GLIBC_2.X' not found"? - Red Hat Customer Portal
April 1, 2026 - Error Log : Starting 'mpscmjboss5 dev Compile ClassPath' om: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by om)
🌐
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 - Your entire system depends on glibc so I'd recommend NOT messing with it. ... kajojo@kajojo:~$ java -version java: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by java) java: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/jvm/java-11-openjdk-amd64/bin/../lib/jli/libjli.so) java: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/jvm/java-11-openjdk-amd64/bin/../lib/jli/libjli.so) kajojo@kajojo:~$ readlink -f `which java` /usr/lib/jvm/java-11-openjdk-amd64/bin/java
🌐
Manjaro Linux
forum.manjaro.org › support
Gpg: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by gpg) - Support - Manjaro Linux Forum
December 21, 2023 - So I have been trying to fix this myself in order to learn more but I am stuck with anything to do with pacman I have seen from other discussions here and on other forums different things and have followed many wiki’s a…
🌐
Cylab
cylab.be › blog › 388 › a-solution-to-version-glibc-2xx-not-found
A Solution to Version GLIBC_2.XX Not Found | cylab.be
Replace /path/to/your/libc.so.6 with the actual path to the required libc.so.6 (/opt/glibc-2.XX/lib/libc.so.6 in our example).
Find elsewhere
🌐
Red Hat
access.redhat.com › solutions › 7077895
oc command fails due to missing glibc library - Red Hat Customer Portal
March 9, 2026 - oc commands fail with the following error: $ oc version oc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by oc) oc: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by oc) oc: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by oc)
🌐
GitHub
github.com › gohugoio › hugo › issues › 8955
hugo: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by hugo) · Issue #8955 · gohugoio/hugo
September 3, 2021 - Tried to setup 'portio' theme and came across SAAS not compiling issue (Some content not rendering properly kausarpial/portio-hugo#17) and came to know that I have to install hugo extended from the releases using sudo dpkg -i hugo_extended_0.88.0_Linux-64bit.deb · Then the whole hugo version command started to fail with: hugo: /lib/x86_64-linux-gnu/libm.so.6: version ``GLIBC_2.29' not found (required by hugo) hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version ``GLIBCXX_3.4.26' not found (required by hugo)
Author   gohugoio
🌐
Reddit
reddit.com › r/linuxquestions › version glibc not found and target not found?
r/linuxquestions on Reddit: Version GLIBC not found and target not found?
October 15, 2022 -

Hey, guys. I usually go with Ubuntu but right now I'm using an Arch VM (Cyberops Workstation) for a course I'm enrolled in. I'm having two separate issues. The first is that I'm trying to locate messsages and I get /usr/lib/libc.so.6: version \GLIBC_2.33' not found (required by locate). When I looked through that library, the file in question did not exist. I had already updated my entire system with -Syu, that changed nothing. I read sudo pacman -S libtool gcc gcc-libs would fix my problem and while now libc.so.6 exists, the same message pops up. What can I do?

I know I shouldn't partially update, but it's fine. I have exported an OVA of my system before tinkering with it and I can start over any time.

The second is that I'm also trying to install chkrootkit and I keep getting error: target not found: chkrootkit, even though as I've said I have already ran sudo pacman -Syu and so to my understanding any mirrors and repositories should have been updated. I figured I might need some kind of AUR helper, even though the guy in the Cisco instructional video is able to install it through pacman, but I keep having problems installing any of them.

Top answer
1 of 4
12

Modifying talsim's answer from below to what worked for me.

wget -4c https://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz
tar -zxvf glibc-2.29.tar.gz
cd glibc-2.29
mkdir build_dir
cd build_dir
sudo ../configure --prefix=/opt/glibc
sudo make
sudo make install
2 of 4
6

I ran into this problem trying to run Node.js 20 on a Raspberry Pi that is running Buster. As this and other threads have noted, updating the system libraries is very unwise as the OS depends on specific versions. As I also have Raspberry's running Bullseye, and Node.js 20 runs on Bullseye, it was easy enough to get various updated libraries to experiment with. I created a subdirectory in my home directory called ~/lib and then issued the command export LD_LIBRARY_PATH=~/lib. By copying various newer libraries from my Bullseye system to my ~/lib directory on the Buster system, I was able to determine that only libm.so.6 and libstdc++.so.6 were the out of date libraries preventing Node.js 20 from running.

So if I want to run Node.js 20, I use a bash script that exports the LD_LIBRARY_PATH variable and then invokes node. For me, it is a good workaround until I migrate this system to Bookworm.

I should note that the older the system is, the harder it will be to catch all the dependencies. Just as test, I booted an SD card with an old Wheezy system on it. I was unable to find any collection of libraries that would allow a relatively recent Node.js release to run. I suspect that if I was trying to get Node.js 20 to run under Stretch, it would probably be even more involved than just two libraries and even that might not work due to the age of the system.

🌐
EndeavourOS
forum.endeavouros.com › general system › pacman & aur helpers
/usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libcurl.so.4) - Pacman & AUR helpers - EndeavourOS
August 11, 2022 - Hi all! I had this problem: /usr/lib/libc.so.6: version `GLIBC_2.34’ not found (required by /usr/lib/libcurl.so.4) when calling any utilities using C, before that I updated several packages manually (I did not touch the library itself), after downloading the libraries, install with the commands: sudo pacman -dU glibc-2.35-2-x86_64.pkg.tar.zst sudo pacman -dU lib32-glibc-2.35-2-x86_64.pkg.tar.zst failed because pacman gives the same error, please help ls -lah /usr/lib/libc.so.6 lrwxrwxrwx 1 ...
🌐
Reddit
reddit.com › r/fortinet › problem on linux ./file.bin: /lib64/libm.so.6: version glibc_2.29' not found (required by ./file.bin)
r/fortinet on Reddit: Problem on Linux ./file.bin: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./file.bin)
July 2, 2025 -

Hello, mates.
I need to run a file on RedHat: file.bin
But when I run it, it gives me the following:

>>./file.bin
./file.bin: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./file.bin)
./file.bin: /lib64/libc.so.6: version GLIBC_2.34' not found (required by ./file.bin)
./file.bin: /lib64/libc.so.6: version GLIBC_2.32' not found (required by ./file.bin)

So then I took the following steps:

>>wget http://ftp.gnu.org/gnu/libc/glibc-2.34.tar.gz
>>tar -xvzf glibc-2.34.tar.gz
>>cd glibc-2.34
>>mkdir build && cd build
>>../configure --prefix=/opt/glibc-2.34
>>make -j$(nproc)
>>sudo yum install gcc gcc-c++ make
>>make install
>>sudo yum install bison
>>mkdir -p $HOME/glibc-2.34
>>../configure --prefix=$HOME/glibc-2.34
>>make -j$(nproc)
>>make install
>>~/glibc-2.34/lib/ld-linux-x86-64.so.2   --library-path ~/glibc-2.34/lib:/                                                                                                                                                             lib64:/usr/lib64   ./file.bin
>>~/glibc-2.34/lib/ld-linux-x86-64.so.2 --library-path ~/glibc-2.34/lib ./file.bin
>>~/glibc-2.34/lib/ld-linux-x86-64.so.6 --library-path ~/glibc-2.34/lib ./file.bin

Now I have the following:

>>ls 
glibc-2.34 (dir)    file.bin
>>~/glibc-2.34/lib/ld-linux-x86-64.so.2 \ --library-path ~/glibc-2.34/lib:/usr/lib64 \ ./file.bin

It gives nothing... no error or so.
But by aux command I see the file aren't active. I think about setting up an access policy from the server to the Internet that blocks the file's access to the world, which is why the program does not load... but the firewall has a rule for free access from the server to the world and no traffic should be blocked.

I would be very grateful if someone could tell me where I'm going wrong or help me deal with this problem.

Thank you all in advance for taking the time to read this post and possibly help me out.

🌐
GitHub
github.com › sdkman › sdkman-cli › issues › 1227
Bug: /lib64/libc.so.6: version `GLIBC_2.18' (and others) not found · Issue #1227 · sdkman/sdkman-cli
August 8, 2023 - [root@oraclelinux79 ~]# sdk version /root/.sdkman/libexec/version: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /root/.sdkman/libexec/version) /root/.sdkman/libexec/version: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /root/.sdkman/libexec/version) /root/.sdkman/libexec/version: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /root/.sdkman/libexec/version)
Author   sdkman
🌐
EndeavourOS
forum.endeavouros.com › general system › newbie
Pacman not working because it misses GLIBC_2 - Newbie - EndeavourOS
October 19, 2023 - On my Endeavour OS system I tried to reinstall Discord manually I uninstalled it and afterwards installed it. Now whenever I try to run a pacman command I get the following error: pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by pacman) pacman: /usr/lib/libc.so.6: version ...
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/manjarolinux › almost every command throws an error ‘/usr/lib/libc.so.6: version `glibc_2.38’ not found (required by /usr/lib/libcrypto.so.3)'
r/ManjaroLinux on Reddit: Almost every command throws an error ‘/usr/lib/libc.so.6: version `GLIBC_2.38’ not found (required by /usr/lib/libcrypto.so.3)'
October 16, 2023 - pacman-conf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libcrypto.so.3)==> ERROR: You do not have sufficient permissions to read the pacman keyring.==> Use 'pacman-key --init' to correct the keyring permissions.