Dyld: lazy symbol binding failed: Symbol not found error - fresh install


#1

Hi,
I am perplexed. I am getting this error:

dyld: lazy symbol binding failed: Symbol not found

after a fresh install right after adding the accounts-password package:

meteor create test
cd test
meteor add accounts-password
meteor run

That’s it.

The full error is below.

Meteor version: Meteor 1.2.0.2
Node version: v0.12.7 ( node -v from the shell…not sure if this is the version the meteor app is actually using)

=> Started proxy.
=> Started MongoDB.
W20151020-06:58:13.854(-4)? (STDERR) dyld: lazy symbol binding failed: Symbol not found: _node_module_register
W20151020-06:58:13.855(-4)? (STDERR)   Referenced from: /Users/Glenn/.meteor/packages/npm-bcrypt/.0.7.8_2.qly1zl++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/npm/node_modules/bcrypt/build/Release/bcrypt_lib.node
W20151020-06:58:13.855(-4)? (STDERR)   Expected in: dynamic lookup
W20151020-06:58:13.855(-4)? (STDERR)
W20151020-06:58:13.855(-4)? (STDERR) dyld: Symbol not found: _node_module_register
W20151020-06:58:13.856(-4)? (STDERR)   Referenced from: /Users/Glenn/.meteor/packages/npm-bcrypt/.0.7.8_2.qly1zl++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/npm/node_modules/bcrypt/build/Release/bcrypt_lib.node
W20151020-06:58:13.856(-4)? (STDERR)   Expected in: dynamic lookup
W20151020-06:58:13.856(-4)? (STDERR)
=> Exited from signal: SIGTRAP

I feel like I have something amiss with my Xcode or node or npm base install but I am not sure how to fix it. When I remove the accounts-password file, the error goes away.

Any ideas?


#2

Ok, a brute force approach worked: reinstalled Meteor from scratch and the problem is fixed. Not sure what or how I did to get into such a state, but glad it is working now.