nodejs daemon wrong architecture
Posted
by
Greg Pagendam-Turner
on Stack Overflow
See other posts from Stack Overflow
or by Greg Pagendam-Turner
Published on 2012-09-11T04:28:57Z
Indexed on
2012/10/03
21:38 UTC
Read the original article
Hit count: 509
I'm trying to run 'dali' a highcharts exporter from nodejs on my Mac under OSX Mountain Lion
I'm getting the following error:
module.js:485
process.dlopen(filename, module.exports);
^
Error: dlopen(/Users/greg/node_modules/daemon/lib/daemon.v0.8.8.node, 1): no suitable image found. Did find:
/Users/greg/node_modules/daemon/lib/daemon.v0.8.8.node: mach-o, but wrong architecture
at Object.Module._extensions..node (module.js:485:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/Users/greg/node_modules/daemon/lib/daemon.js:12:11)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
The key part is: "wrong architecture"
If I run:
lipo -info /Users/greg/node_modules/daemon/lib/daemon.v0.8.8.node
It returns:
Non-fat file: /Users/greg/node_modules/daemon/lib/daemon.v0.8.8.node is architecture: i386
I'm guessing a x64 version is requried.
How do I get and install the 64 bit version of this lib?
© Stack Overflow or respective owner