rzel / rudix

Automatically exported from code.google.com/p/rudix
Other
0 stars 0 forks source link

node: dyld: lazy symbol binding failed: Symbol not found: / Expected in: flat namespace #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install node 0.4.0
2. Install NPM from http://npmjs.org/
3. Install any Node module written in C++ in this issue, zombie or hash_ring.
4. Run in node console: var r = require('hash_ring'); or var z = 
require('zombie');

What is the expected output? What do you see instead?

Variable created without error. But what I see is:

> var hashring = require('hash_ring');
dyld: lazy symbol binding failed: Symbol not found: __ZN2v811HandleScopeC1Ev
  Referenced from: /usr/local/lib/node/.npm/hash_ring/0.1.0/package/build/default/hash_ring.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v811HandleScopeC1Ev
  Referenced from: /usr/local/lib/node/.npm/hash_ring/0.1.0/package/build/default/hash_ring.node
  Expected in: flat namespace

Trace/BPT trap

$ file 
/usr/local/lib/node/.npm/hash_ring/0.1.0/package/build/default/hash_ring.node
/usr/local/lib/node/.npm/hash_ring/0.1.0/package/build/default/hash_ring.node: 
Mach-O bundle i386

Please use labels and text to provide additional information.

Probably the module is not built Universal/Fat but Node 0.4.0 is Universal, so 
the linker can't resolve.

Original issue reported on code.google.com by ruda.moura@gmail.com on 25 Feb 2011 at 12:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by ruda.moura@gmail.com on 25 Feb 2011 at 12:58

GoogleCodeExporter commented 9 years ago

Original comment by ruda.moura@gmail.com on 29 Apr 2012 at 1:24