-
Notifications
You must be signed in to change notification settings - Fork 98
Description
I'm actually creating a nodejs application.I created a Node module to extend a C program to the app.Then I cross compile the application using this command:
CC=arm-linux-gcc-4.8.4 CXX=arm-linux-g++ node-gyp clean configure --arch=arm rebuild
but when I run :node app.js
I got :
module.js:356
Module._extensions[extension](this, filename);
^
Error: /home/slim/Bureau/a/build/Release/ex.node: cannot open shared object file: No such file or directory
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/slim/Bureau/a/app.js:21:8)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
I run file ex.node I got:
/home/user/Bureau/a/build/Release/ex.node: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped