skip to Main Content

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
(required by node)

My Ubuntu version is Ubuntu 18.04.6 LTS and when I am checking for the latest version, it’s showing that the software is up to date. As I go through the glibcc error, it requires an Ubuntu version greater than 18. How can I update the version?

This is the application I am trying to download.

2

Answers


  1. 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.

    Login or Signup to reply.
  2. Answer from @Dolphin isn’t complete as it produces error from make: Makeconfig:42: *** missing separator. Stop.

    In my case, to I had to do following:

    # Check GLIBC_2.29
    ldd --version | head -n1
    
    # Build GLIBC_2.29 from sources
    sudo apt-get install gawk bison -y
    wget -c https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.gz
    tar -zxvf glibc-2.34.tar.gz && cd glibc-2.34
    mkdir glibc-build && cd glibc-build
    ../configure --prefix=/opt/glibc-2.34
    make 
    sudo make install
    

    P.S. If you are trying to run ord just try building from sources, it’s much simpler than upgrading ubuntu or recompiling GLIBC

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search