Home > Enterprise >  Getting GLIBC_2.28 not found
Getting GLIBC_2.28 not found

Time:07-12

I running node -v command getting error:- node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)

enter image description here

Any solution

CodePudding user response:

You likely have a node version installed that is compiled for a different ubuntu release to the one you are running.

I would suggest removing it, then installing the nodesource binary distribution. It should auto-detect your ubuntu release and install the correct node release.

CodePudding user response:

Finally I got solution by running by running following commands.

sudo apt-get remove nodejs
nvm install 16.15.1

v16.15.1 node version and npm v v16.15.1 is installed. For same make sure nvm is installed in your machine.

  • Related