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
🌐
Pkgs.org
pkgs.org › download › libc.so.6(GLIBC_2.34)(64bit)
Libc.so.6(GLIBC_2.34)(64bit) Download for Linux (rpm)
Download libc.so.6(GLIBC_2.34)(64bit) packages for ALT Linux, Fedora, Mageia, OpenMandriva, openSUSE
🌐
Pkgs.org
pkgs.org › download › glibc
Glibc Download for Linux (apk eopkg rpm txz xbps xz zst)
Download glibc linux packages for AlmaLinux, ALT Linux, Amazon Linux, Arch Linux, CentOS, Fedora, KaOS, Mageia, OpenMandriva, openSUSE, PCLinuxOS, Rocky Linux, Slackware, Solus, Void Linux · Filter: Distros: all Arches: arm intel Types: official thirdparty ... glibc latest versions: 2.35.9000, 2.35.0.6.491f2e, 2.35, 2.34, 2.33.r681.g642213e043, 2.33, 2.32, 2.31, 2.28, 2.27, 2.26, 2.25, 2.23, 2.17
🌐
Pkgs.org
pkgs.org › download › libc.so.6(GLIBC_2.34)
Libc.so.6(GLIBC_2.34) Download for Linux (rpm)
Search and download Linux packages for Adélie, AlmaLinux, Alpine, ALT Linux, Arch Linux, CentOS, Debian, Fedora, KaOS, Mageia, Mint, OpenMandriva, openSUSE, OpenWrt, RHEL, Rocky Linux, Slackware, Solus, Ubuntu and Void Linux distributions
🌐
Bootlin
toolchains.bootlin.com › downloads › releases › sources › glibc-2.34-9-g9acab0bba6a5a57323b1f94bf95b21618a9e5aa4
Index of /downloads/releases/sources/glibc-2.34-9-g9acab0bba6a5a57323b1f94bf95b21618a9e5aa4
Index of /downloads/releases/sources/glibc-2.34-9-g9acab0bba6a5a57323b1f94bf95b21618a9e5aa4 · Apache/2.4.41 (Ubuntu) Server at toolchains.bootlin.com Port 443
🌐
Linux From Scratch
linuxfromscratch.org › patches › downloads › glibc
Index of /patches/downloads/glibc
glibc-2.34-cve_2023_4806-1.patch · glibc-2.34-cve_2023_4806-2.patch · glibc-2.34-cve_2023_4911-1.patch · glibc-2.34-fhs-1.patch · glibc-2.34-security_fixes-1.patch · glibc-2.35-cve_2023_4806-1.patch · glibc-2.35-cve_2023_4806-2.patch · glibc-2.35-fhs-1.patch ·
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource libc.so.6(GLIBC_2.34)(64bit)
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet · The System and Arch are optional added filters, for example ...
🌐
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 - 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) Tried to download glibc-source, it didn't work.
🌐
GitHub
github.com › sgerrand › alpine-pkg-glibc › releases
Releases · sgerrand/alpine-pkg-glibc
April 13, 2023 - 2.34-r0 · glibc version 2.34. Assets 7 · Loading · There was an error while loading. Please reload this page. 8 people reacted · 23 Feb 16:34 · sgerrand · 2.33-r0 · 13f1dd3 · This commit was created on GitHub.com and signed with GitHub’s verified signature.
Author   sgerrand
Find elsewhere
🌐
Launchpad
launchpad.net › glibc › +download
https://launchpad.net/glibc/+download
It is used by almost all C programs and provides the most essential program interface to operating system services.
🌐
GNU
sourceware.org › pipermail › libc-alpha › 2021-August › 129718.html
The GNU C Library version 2.34 is now available
August 2, 2021 - Carlos O'Donell carlos@redhat.com ... sorted by: [ date ] [ thread ] [ subject ] [ author ] The GNU C Library ================= The GNU C Library version 2.34 is now available....
Top answer
1 of 2
29

If you need glibc version other than the one shipped with ubuntu, one way is to install manually to a temp location in your $HOME. (installing in /usr would mess up with existing glibc in case something goes wrong)

mkdir $HOME/glibc/ && cd $HOME/glibc
wget http://ftp.gnu.org/gnu/libc/glibc-2.32.tar.gz
tar -xvzf glibc-2.32.tar.gz
mkdir build 
mkdir glibc-2.32-install
cd build
~/glibc/glibc-2.32/configure --prefix=$HOME/glibc/glibc-2.32-install
make
make install

Now you should have glibc 2.32 installed in the installation directory. You may check with ~/glibc/glibc-2.32-install/bin/ldd --version

2 of 2
1

Building on Shalini's answer,

#!/bin/bash

SOFTWARE_NAME=$1
SOFTWARE_VERSION=$2

export DOWNLOAD_INSTALL_DIR=$SOFTWARE_NAME-$SOFTWARE_VERSION-download-install
if [ -f $DOWNLOAD_INSTALL_DIR ];
then
    rm -fr $DOWNLOAD_INSTALL_DIR
    echo "Remove $DOWNLOAD_INSTALL_DIR"
fi

mkdir $HOME/$DOWNLOAD_INSTALL_DIR/ && cd $HOME/$DOWNLOAD_INSTALL_DIR

echo "Current directory at $PWD"

export DOWNLOADED_TAR=$HOME/$DOWNLOAD_INSTALL_DIR/$SOFTWARE_NAME-$SOFTWARE_VERSION.tar.gz
if [ ! -f $DOWNLOADED_TAR ]; then
    wget https://ftp.gnu.org/gnu/$SOFTWARE_NAME/$SOFTWARE_NAME-$SOFTWARE_VERSION.tar.gz -P $HOME/$DOWNLOAD_INSTALL_DIR
    echo "Software is downloaded: $SOFTWARE_NAME, version = $SOFTWARE_VERSION "
else
    echo "Software is ALREADY downloaded: $SOFTWARE_NAME, version = $SOFTWARE_VERSION at $DOWNLOADED_TAR"
fi
tar -xvzf $DOWNLOADED_TAR -C $HOME/$DOWNLOAD_INSTALL_DIR
mkdir $HOME/$DOWNLOAD_INSTALL_DIR/build
export SOURCE_DIR=$HOME/$DOWNLOAD_INSTALL_DIR/$SOFTWARE_NAME-$SOFTWARE_VERSION-install
mkdir $SOURCE_DIR
cd $HOME/$DOWNLOAD_INSTALL_DIR/build
~/$DOWNLOAD_INSTALL_DIR/$SOFTWARE_NAME-$SOFTWARE_VERSION/configure --prefix=$SOURCE_DIR
make
make install

export SOFTWARE_PATH=$HOME/$DOWNLOAD_INSTALL_DIR/$SOFTWARE_NAME-$SOFTWARE_VERSION-install/bin/$SOFTWARE_NAME
if [ -f $SOFTWARE_PATH ]; then
    echo "Software is found: $SOFTWARE_NAME, version = $SOFTWARE_VERSION at $SOFTWARE_PATH"
    mv $SOFTWARE_PATH $GRAND_ROOT_BIN
fi

You can use the script like so bash script-name.sh bison 3.8 for downloading GNU's bison with version number 3.8.

🌐
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 - But my only option seems to be to open the command line in the grub menu and following steps 2-4 using loqs suggestion. ... You can't do anything from the grub command line. You have to boot the install ISO, which doesn't use grub at all. ... No success trying to boot using a live USB drive. I tried three differents ISO image downloads of arch linux on three different USB drives using Rufus and BalenaEtcher.
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource libc.so.6(GLIBC_2.34)
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet · The System and Arch are optional added filters, for example ...
🌐
Linux From Scratch
linuxfromscratch.org › lfs › view › 11.0 › chapter08 › glibc.html
8.5. Glibc-2.34
Alternatively, install all locales listed in the glibc-2.34/localedata/SUPPORTED file (it includes every locale listed above and many more) at once with the following time-consuming command:
🌐
Debian
ftp.debian.org › debian › pool › main › g › glibc
Index of /debian/pool/main/g/glibc
Index of /debian/pool/main/g/glibc · Apache Server at ftp.debian.org Port 80
🌐
Ubuntu
launchpad.net › ubuntu › +source › glibc › 2.34-0ubuntu3
glibc 2.34-0ubuntu3 source package in Ubuntu - Launchpad
September 28, 2021 - This package contains the sources and patches which are needed to build glibc.
🌐
IceWalkers
icewalkers.com › linux › software › system › glibc 2.40
Glibc 2.40 Free Download, Linux | IceWalkers
July 22, 2024 - Glibc 2.34 · Changelog · glibc-2.34.tar.xz · glibc-2.34.tar.bz2 · August · 06 · 2020 · Glibc 2.32 · Changelog · glibc-2.32.tar.xz · glibc-2.32.tar.bz2 · February · 02 · 2020 · Glibc 2.31 · Changelog · glibc-2.31.tar.xz · glibc-2.31.tar.bz2 ·