You can try to download glibc from the official source and install it:

wget -c https://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz
tar -zxvf glibc-2.29.tar.gz
mkdir glibc-2.29/build
cd glibc-2.29/build
../configure --prefix=/opt/glibc
make 
make install

Pay attention to avoid breaking your OS environment: you need to specify the prefix and configure the separate path when you are using it.


See this answer on how to use the alternate GLIBC.

Answer from Dolphin on Stack Overflow
🌐
GitHub
github.com › snok › install-poetry › issues › 163
Failing to install Poetry - GLIBC 2.38 not found - ubuntu-latest (24.04 as of 9th Jan 2025) · Issue #163 · snok/install-poetry
January 9, 2025 - jobs: build: runs-on: ubuntu-latest container: node:latest timeout-minutes: 15 permissions: id-token: write contents: read checks: write steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: 3.11 - name: Update package list run: apt-get update - name: Install system dependencies run: apt-get install -y python3-dev libpq-dev - name: Install Poetry uses: snok/install-poetry@v1
Author   snok
🌐
Launchpad
answers.launchpad.net › ubuntu › +source › glibc › +question › 708407
Question #708407 “How to install GLIBC_2.38? (newbie)” : Questions : glibc package : Ubuntu
Upgrading glibc to a higher version within an Ubuntu release is not recommended at all. If you need glibc version 2.38 (or higher), then the best way is upgrading your Ubuntu release to 23.10
Discussions

How to install GLIBC 2.29 or higher in Ubuntu 18.04 - Stack Overflow
So I am trying to install truDesk on my local system. I am getting this error while running the command npm install -g yarn: node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found ( More on stackoverflow.com
🌐 stackoverflow.com
Error GLIBC_2.38 brew installation ubuntu 22
Describe the bug I've tried to upgrade from v1.18 to v1.21 via brew and I get this error: [PYI-595350:ERROR] Failed to load Python shared library /home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/li... More on github.com
🌐 github.com
2
February 4, 2025
Linux binary requires glibc 2.38/2.39 — fails on Ubuntu 22.04 and Debian 11
Problem The official installer binary fails on Linux machines with older glibc: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38 not found /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.39 not found Fallback: building from source al... More on github.com
🌐 github.com
2
March 25, 2026
Unexpected GLIBC requirements in generated toolchain: expected behavior?
Is it not unexpected that glibc version 2.38 would be required given the configuration file? Does the host machine impact the glibc requirements of the built toolchain in any way? Ubuntu 24.04 has glibc 2.39 installed. More on github.com
🌐 github.com
7
July 11, 2024
🌐
Reddit
reddit.com › r/linux4noobs › running into a version `glibc_2.38' not found error
r/linux4noobs on Reddit: Running into a version `GLIBC_2.38' not found error
April 7, 2024 -

What the title says. I'm trying to run a program, and even after installing its dependencies (sdl2, freetype, harfbuzz, onnxruntime, darling) and restarting the system (I know most of the time it doesn't need, but just in case) it keeps saying the same issue.

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found

What I've seen after searching for a bit is that either I have to build the program myself, or use a different version of linux. I MIGHT be ok, since I was planning to make a new installation when Kubuntu 24.04 releases eventually (I mean, it WILL release, right???) but I really want to give this a try beforehand.

Running a Kubuntu 22.04 distro that updated itself from a 20.04 one. Hardware is full amd and decent enough? I don't think it affects this issue in specific.

🌐
GitHub
github.com › robusta-dev › krr › issues › 403
Error GLIBC_2.38 brew installation ubuntu 22 · Issue #403 · robusta-dev/krr
February 4, 2025 - brew install krr ==> Downloading https://formulae.brew.sh/api/formula.jws.json ==> Fetching robusta-dev/krr/krr ==> Downloading https://github.com/robusta-dev/krr/releases/download/v1.21.0/krr-ubuntu-latest-v1.21.0.zip Already downloaded: /home/jtirado/.cache/Homebrew/downloads/b715010643aa9246d25c3727a986a195a16afa99bc5f35d6c9a961fa52e3cdc3--krr-ubuntu-latest-v1.21.0.zip ==> Installing krr from robusta-dev/krr ==> Running 'krr version' to warm up binary and extract compressed python libraries... this can take up to 60 seconds ==> /home/linuxbrew/.linuxbrew/Cellar/krr/1.21.0/libexec/krr versio
Author   robusta-dev
🌐
GitHub
github.com › fabro-sh › fabro › issues › 147
Linux binary requires glibc 2.38/2.39 — fails on Ubuntu 22.04 and Debian 11 · Issue #147 · fabro-sh/fabro
March 25, 2026 - The Rust target x86_64-unknown-linux-musl would cover this without maintaining multiple binaries. ... Pre-install deps and build from source: apt-get install -y pkg-config libssl-dev then cargo install fabro
Author   fabro-sh
🌐
GitHub
github.com › crosstool-ng › crosstool-ng › issues › 2181
Unexpected GLIBC requirements in generated toolchain: expected behavior? · Issue #2181 · crosstool-ng/crosstool-ng
July 11, 2024 - In my mind this part of the configuration should ensure that executing the toolchain requires glibc version 2.17 specifically. You can see in the configuration plainly that the glibc version required is to be older than 2.38, but actually executing the built toolchain requires 2.38 after all.
Author   crosstool-ng
🌐
GitHub
github.com › FlareSolverr › FlareSolverr › issues › 1670
GLIBC_2.38 not found - Ubuntu 22.04 · Issue #1670 · FlareSolverr/FlareSolverr
January 22, 2026 - Ubuntu 22.04 is a current and supported OS that is not EOL · journalctl -xe flaresolverr[633916]: [PYI-633916:ERROR] Failed to load Python shared library '/etc/flaresolverr/_internal/libpython3.13.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /etc/flaresolverr/_internal/libpython3.13.so.1.0) systemd[1]: flaresolverr.service: Main process exited, code=exited, status=255/EXCEPTION ·
Author   FlareSolverr
Find elsewhere
🌐
GitHub
gist.github.com › zchrissirhcz › ee13f604996bbbe312ba1d105954d2ed
Ubuntu Distro GCC GLIBC GLIBCXX C++-Standard versions · GitHub
GLIBC versions: https://launchpad.net/ubuntu/+source/glibc https://code.launchpad.net/ubuntu/+source/glibc ... strings /usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.so | grep -oP 'GLIBCXX_\d+\.\d+\.\d+' | sort -V | tail -n1 ... gcc -v --help 2> /dev/null | grep -iv deprecated | grep "C++" | sed -n '/^ *-std=\([^<][^ ]\+\).*/ {s//\1/p}'
🌐
Linux Mint Forums
forums.linuxmint.com › board index › debian edition support › lmde forums › hardware support
GLIBC_2.38 - Linux Mint Forums
January 6, 2025 - Questions about hardware and drivers ... https://github.com/orgs/linuxmint/discu ... re-reviews · Forum rules Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation. ... Hi, it is not the first time, but I did not find the answer and solution. I need the 2.38 version. ... find: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not ...
🌐
GitHub
github.com › an-anime-team › an-anime-game-launcher › issues › 373
`GLIBC_2.38' not found · Issue #373 · an-anime-team/an-anime-game-launcher
May 26, 2024 - For Mint, this is the latest release, being based on Ubuntu 22.04 "Jammy Jellyfish." The problem I'm encountering is that the launcher, in all its forms, requires v2.38, as I get the following error when attempting to run the launcher from my terminal: ./anime-game-launcher: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./anime-game-launcher) Running apt-cache policy libc6 yields the following: Installed...
Author   an-anime-team
🌐
GitHub
github.com › actions › setup-python › issues › 1053
"'GLIBC_2.38' not found" when installing Python 3.10 on container derived from `python:3.10-slim` · Issue #1053 · actions/setup-python
January 22, 2025 - name: Debug on: workflow_dispatch: push: jobs: not_working: runs-on: ubuntu-latest container: image: python:3.10-slim steps: - uses: actions/setup-python@v5 with: python-version: "3.10" - run: python · An example of this failing workflow can be found here. ... Python can be invoked without error. ... python: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /__t/Python/3.10.16/x64/lib/libpython3.10.so.1.0) python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /__t/Python/3.10.16/x64/lib/libpython3.10.so.1.0) Error: Process completed with exit code 1.
Author   actions
🌐
Ubuntu
launchpad.net › ubuntu › +source › glibc › 2.38-1ubuntu4
2.38-1ubuntu4 : glibc package : Ubuntu
This package contains the sources and patches which are needed to build glibc.
🌐
Puppy Linux Discussion Forum
forum.puppylinux.com › board index › puppy linux main › house training › users help
How to update to glibc 2.38? - Puppy Linux Discussion Forum
As for actually installing the package from source into a running system I believe it is problematic because glibc is such an essential deep-core package that if you try to do the usual "make install" (or new2dir make install) the installation process messes up the dependencies which are needed by the very tools you are trying to use to complete the installation.
🌐
GitHub
github.com › FPGAwars › apio › issues › 699
GLIBC_2.38 not found error · Issue #699 · FPGAwars/apio
October 25, 2025 - I have just installed apio (apio-linux-x86-64-1.0.1-20251024-debian.deb) on a new Ubuntu installation (24.04 LTS) and I receive an error message when simulating: gtkwave --rcvar "splash_disable on" --rcvar "do_initial_zoom_fit 1" _build/default/dff_tb.vcd dff_tb.gtkw /home/nigel/.apio/packages/oss-cad-suite/lib/libc.so.6: version GLIBC_2.38' not found (required by /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so) Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so: undefined symbol: g_assertion_message_cmpint
Author   FPGAwars
Top answer
1 of 2
6

You can use following commands to bring in newer version of glibc in ubuntu 20.04, but note that as it is a system package, upgrading it may impact your system.

apt-get install gawk bison gcc make wget tar -y
wget -c https://ftp.gnu.org/gnu/glibc/glibc-2.35.tar.gz
tar -zxvf glibc-2.35.tar.gz && cd glibc-2.35
mkdir glibc-build && cd glibc-build
../configure --prefix=/opt/glibc
make
make install
2 of 2
0

Introducing glibc will break your core binaries. Updated core binaries require a newer kernel which breaks hardware drivers (like NVIDIA) that need your old kernel. This "vicious cycle" makes it impossible to use new glibc w/o breaking your system.

The only solution is to compile the unsupported drivers somehow for the new kernel. So far this is not possible.

If you try using GLIBC without updating its dependencies, you will get complaints of a version mismatch on its dependencies which go all the way down to the kernel, which is why it is not possible.

Your options are limited and it is not possible unless you use a virtual machine. But likely VM is not what you want because VMs do not have the advantage of talking to your hardware directly. They have some VM extensions for making that better but they only cover CPU and RAM, not the video/sound card, that is all emulated.

Summary

If you want to run something that needs newer hardware, there is just no way around that:

  1. You cant use unsupported hardware on newer kernel, and therefore linker, and then GLIBC.

  2. You can't use unsupported GLIBC on older kernel which relies on the new kernel features. If you try to do it by force (point to new compiled version of the new binaries) you will get an error that the linker/kernel versions are incorrect.

  3. The only solution to this is if there was a way to update your hardware drivers. If that isn't your problem, then UPGRADE UBUNTU to the latest version. If that IS your problem, then you are out of luck.

  4. Companies like NVIDIA and AMD drop video support after a few years and leave you up a creek with no paddle, stranded on an old OS unless you buy yet another video card (even if your current one is fast and does just fine, they do NOT care).

  5. Sandboxing in flatpak still needs those libraries to be able to link with your kernel. Sandboxing only fixes dependencies that are above the base system level. HOWEVER, if any of those libraries were built against a binaries that recursively rely on newer core libraries, you will still be stuck and it will still not work, below is an example:

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
(required by /tmp/.mount_my2newapp.a9fz3/usr/bin/../../usr/lib/liblzma.so.5)

As you can see here, even though the appimage/flatpak/snap was sandboxed, it still needed these new libraries further down the dependency chain.

🌐
GitHub
github.com › FunkinCrew › Funkin › issues › 2607
Compiling help: [GLibC Library Incompatibility / version "GLIBC_2.38" not found] · Issue #2607 · FunkinCrew/Funkin
May 25, 2024 - I am using GLibC version 2.36. The issue is, even though I'm on debian stable, I don't have the latest version compatible with FNF.
Author   FunkinCrew
🌐
Its Linux FOSS
itslinuxfoss.com › home › ubuntu › how to install glibc on ubuntu 22.04
How to Install glibc on Ubuntu 22.04 – Its Linux FOSS
September 26, 2022 - This guide will provide a thorough installation process of “glibc” on Ubuntu 22.04.