How to Fix the Error “GLIBC_2.34 Not Found” in Linux


When working with Linux, you may encounter errors related to missing or incompatible libraries. One such error is “Error /lib/x86_64-linux-gnu/ version `GLIBC_2.34′ not found,” which indicates that the GNU C Library (GLIBC) version 2.34 is required but not available on your system. This error can occur when trying to run or install a program that depends on GLIBC 2.34. In this article, we will discuss how to fix this error.


Before proceeding, make sure you have access to the terminal on your Linux system with sudo privileges.


To fix the “GLIBC_2.34 not found” error, you can follow these steps:

Step 1: Check GLIBC Version

  1. Open a terminal window.
  2. Run the following command to check the version of GLIBC installed on your system:
   ldd --version

This command will display the version of GLIBC currently installed.

Step 2: Determine Required GLIBC Version

  1. Identify the program or library that requires GLIBC 2.34.
  2. Check the documentation or requirements of the program/library to verify the required GLIBC version.

Step 3: Upgrade GLIBC

Warning: Upgrading GLIBC is a complex process and can potentially break your system if not done correctly. Proceed with caution and ensure you have a backup of important data.

  1. Backup Important Data: Before proceeding, it’s recommended to backup any important data to prevent data loss in case something goes wrong.
  2. Add Ubuntu Toolchain PPA: If you are using Ubuntu, you can add the Ubuntu Toolchain PPA to install a newer version of GLIBC. Run the following commands:
   sudo add-apt-repository ppa:ubuntu-toolchain-r/test
   sudo apt-get update
  1. Install Newer GLIBC Version: Once the PPA is added and updated, you can install a newer version of GLIBC. Replace X.YY with the desired version number (e.g., 2.34):
   sudo apt-get install libc6-dev=2.34-0ubuntu0.21.10.1
  1. Verify GLIBC Version: After installing the newer version of GLIBC, verify the version using the ldd --version command to ensure it is installed correctly.

Step 4: Verify Program/Library Compatibility

  1. After upgrading GLIBC, verify the compatibility of the program/library that required GLIBC 2.34.
  2. Test the program/library to ensure it functions correctly with the new GLIBC version.


By following the steps outlined in this article, you can fix the “GLIBC_2.34 not found” error in Linux. It’s important to exercise caution when upgrading GLIBC, as it can potentially cause issues with system stability. Always ensure you have a backup of important data before proceeding with such upgrades.