Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libatomic.so missing #6

Open
theFork opened this issue Apr 19, 2022 · 1 comment
Open

libatomic.so missing #6

theFork opened this issue Apr 19, 2022 · 1 comment

Comments

@theFork
Copy link

theFork commented Apr 19, 2022

After unpacking node-v16.14.2-linux-armv7l, and running node -v I got this:

[root@rockrobo bin]# ./node -v
./node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

This seems to be a common issue with nodejs. Anyway, libatomic should be provided by the OS. Since my rockrobo does not come with apt-get, I'm running out of ideas. Has someone experienced and solved this issue?

@almidar
Copy link

almidar commented Dec 23, 2023

Its an issue of newer nodejs versions. Just use an old nodejs version. I used 11.15 and it works fine.
https://nodejs.org/download/release/v11.15.0/

And to avoid further issues, you should use an old node mqtt version. I installed:
npm install mqtt:3.0.0 --save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants