-
Notifications
You must be signed in to change notification settings - Fork 58
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
termux linux aarch64 not compatible! #77
Comments
Currently there are no android prebuilds available. Will be available with the NAPI rewrite. If you have a built toolchain on your phone you can try to |
What means is built toolchain ? run: npm -i node-snap7 --build-from-source [root@localhost yitiji-socketserver]# npm -i node-snap7 --build-from-source Usage: npm where is one of: npm -h quick help on Specify configs in the ini-formatted file: [email protected] /usr/lib/node_modules/npm |
Install C++11 build tools + python 2.7 to build native node modules and then |
The Android phone has termux installed and node 14.14.0 installed.
$ uname -a
Linux localhost 4.19.81-perf+ #1 SMP PREEMPT Fri Nov 13 21:32:47 CST 2020 aarch64 Android
Is aarch64 incompatible? Is there any way to be compatible?
error log:
/data/data/com.termux/files/home/web/yitiji-socketserver/node_modules/bindings/bindings.js:121
throw e;
^
Error: dlopen failed: "/data/data/com.termux/files/home/web/yitiji-socketserver/node_modules/node-snap7/build/Release/node_snap7.node" has bad ELF magic: cffaedfe
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at bindings (/data/data/com.termux/files/home/web/yitiji-socketserver/node_modules/bindings/bindings.js:112:48)
at Object. (/data/data/com.termux/files/home/web/yitiji-socketserver/node_modules/node-snap7/lib/node-snap7.js:8:45)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Object.require.extensions. [as .js] (/data/data/com.termux/files/home/web/yitiji-socketserver/node_modules/babel-register/lib/node.js:152:7)
The text was updated successfully, but these errors were encountered: