Node.js node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

Was installing Node.js v25.9.0 as a standalone pre-built binary installation and ended up after a successful installation getting the following when attempting to run a “node -v”.

$ node -v
node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

To resolve this, I just needed to install the missing library.

sudo apt install libatomic1

Then attempting to re-run the command, I get the version output as expected.

$ node -v
v25.9.0

Leave a comment