Steps to recreate:
From fresh Termux:
apt install g+ cmake python2 yarn # Install dependencies
npm config set python $PREFIX/bin/python2.7 # Set python path for node gyp
npm install -g node-gyp # Install node-gyp globally
npm install sqlite3 # Build sqlite3
node -e "require('sqlite3')" # failed test
I'm using a Asus C302 with Version 62.0.3202.97 (Official Build) (64-bit).
Any ideas?
-Andy
Edit: I forgot to add the error
module.js:664
return process.dlopen(module, path._makeLong(filename));
^
Error: dlopen failed: /data/data/com.termux/files/home/node_modules/sqlite3/lib/binding/node-v57-android-ia32/node_sqlite3.node: has text relocations
at Object.Module._extensions..node (module.js:664:18)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/data/data/com.termux/files/home/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
Steps to recreate:
From fresh Termux:
I'm using a Asus C302 with Version 62.0.3202.97 (Official Build) (64-bit).
Any ideas?
-Andy
Edit: I forgot to add the error