Error loading shared library ld-linux-aarch64.so
See original GitHub issueHey all,
I’m working on an npm package that uses node-ffi to load a binary .so file. This works fine on Heroku and in a Docker container built from the node:boron image, but loading the lib fails on a now.sh deployment (using package.json) with the following error:
Dynamic Linking Error: Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /home/nowuser/src/node_modules/envkey/ext/envkey-linux-arm64.so)
The problem seems similar to this issue, but with a different missing dependency. Any ideas? Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Error loading shared library ld-linux-aarch64.so #697 - GitHub
Hey all, I'm working on an npm package that uses node-ffi to load a binary .so file. This works fine on Heroku and...
Read more >lib64/ld-linux-x86-64.so.2: No such file or directory error
If you are running this on an M1 macbook, it's possible that you are running a native Arm image of ubuntu, instead of...
Read more >Error loading shared library ld-linux-x86-64.so.2 - Julien Voisin
Error loading shared library ld-linux-x86-64.so.2: on Alpine Linux ... Since I've encountered this issue so much, here is how to fix it:.
Read more >Error while loading shared libraries: libcgmanager.so.0
Hello, I am facing shared library error while running this application. ==> $ ./ACE006_USB_I2C_Bridging ./ACE006_USB_I2C_Bridging: error ...
Read more >Adb not working due to lack of libprotobuf.so.30 on raspberry
On my raspberry PI400 adb is not working due to a lack of link to libprotobuf.so.30 adb: error while loading shared libraries: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, that makes sense. I’m using golang (cgo) to compile–it seems others have had similar issues and that static linking is a potential solution.
I tried with a Dockerfile as well and had no issues, but would like my lib to work seamlessly for now users if possible… you have built a great service!
Another possibility is to use a Dockerfile using a glibc based distro as the base image for your application. That way, you would be more in control over which libc is used.