ncb000gt/node.bcrypt.js — Issue #55: Symbol not found: _ev_default_loop_ptr
Author: nicerobot
Created: 2011-12-30 19:37:21+00:00
State: open

Running under node v0.4.7 on Mac OS X 10.7.2, bcrypt v0.4.1:

Error: dlopen(.../bcrypt/build/Release/bcrypt_lib.node, 1): Symbol not found: _ev_default_loop_ptr
Referenced from: .../bcrypt/build/Release/bcrypt_lib.node
Expected in: flat namespace
in .../bcrypt/build/Release/bcrypt_lib.node
at Object..node (module.js:416:11)
at Module.load (module.js:336:31)
...

To resolve it, i:

- changed wscript, line 41: [`bcryptnode.cxxflags = [ "-O3", "-DEV_MULTIPLICITY=0" ]`](/joyent/node/issues/1119)

And for good measure to allow `make configure` to find everything, i:

- set NODE_PATH
- changed wscript, line 22: `libssl = conf.check(lib="crypto",`
- which, interestingly, causes the following warnings, which doesn't happen with `="ssl"` even through those directories don't exist:

ld: warning: directory not found for option '-L/lib'
ld: warning: directory not found for option '-L/usr/sfw/lib'