我在 Ubuntu 12.04 精确和 leveldown@0.10.2 下安装了节点 v0.11.9 和 nvm(编译时没有警告),但是当我尝试加载 leveldown 时,我收到以下错误:
$ node
> require ('leveldown')
Error: /home/direvius/learn/leveldb/node_modules/leveldown/build/Release/leveldown.node: undefined symbol: _ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEENS1_INS0_8FunctionEEEiPNS1_INS0_5ValueEEE
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at bindings (/home/direvius/learn/leveldb/node_modules/leveldown/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/home/direvius/learn/leveldb/node_modules/leveldown/index.js:1:99)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)