-
Notifications
You must be signed in to change notification settings - Fork 54
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
require openzwave #24
Comments
Something is wrong with libudev, did you build this on a different host or something? Check it is installed correctly, etc. More information on the host environment would be useful. Thanks. |
Yes it seems so. No i built it on the same system. I have libudev-dev installed correctly. I think it's just about linking, when I run ldd on openzwave/build/Release/openzwave.node I get: $ ldd openzwave.node And we can notice there's no mention to udev or anything. Thx, PS: Im running Ubuntu 13.10, 3.11.0-12, 32bit system |
I've found an alternative by using LD_PRELOAD (as mentioned here #20) |
Close as duplicate of #20. Will resolve this issue there. |
Hello,
I can't get your example file working.
I require the openzwave file:
var OpenZWave = require('node_modules/openzwave/build/Release/openzwave');
I run it:
node test.js
And i get:
module.js:356
Module._extensions[extension](this, filename);
^
Error: node_modules/openzwave/build/Release/openzwave.node: undefined symbol: udev_new
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/edouard/Desktop/test.js:5:17)
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)
What am i doing wrong?
Thx.
eo
Am i loading the wrong openzwave file?
The text was updated successfully, but these errors were encountered: