A known problem, see: https://github.com/joyent/node/issues/2392
Unfortunately it requires upstream changes to gyp. See: http://groups.google.com/group/gyp-developer/browse_thread/thread/db36d84d4f727cc3 On Sat, Feb 4, 2012 at 4:37 PM, m1k3l <[email protected]> wrote: > There seems to be a bug with node.js to compile in 64-bit on Mac OSX 10.6 > and 10.7. > Even if forcing config to x64, it is still compiling as i386. Worse, > modules are compiled with '-arch' 'i386'. > > I think the error is in > > 1. configure: uname should be -m, not -p. -p returns i386, while -m > returns x86_64 > 2. ./tools/wafadmin/Tools/node_addon.py is always set to i386. Wrong! > There should be a switch on uname -p to set it to x86_64 > > After doing both modifs, I'm able to link modules with 64b frameworks. >
