undefined symbol: _ZTV7BatchOp #17

dominictarr opened this Issue Nov 16, 2012 · 2 comments

2 participants

Node.js LevelDB member
npm install levelup
> require('levelup')

Error: /home/dominic/c/experiments/node_modules/levelup/build/Debug/levelup.node: undefined symbol: _ZTV7BatchOp
    at Object.Module._extensions..node (module.js:485:11)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at bindings (/home/dominic/c/experiments/node_modules/levelup/node_modules/bindings/bindings.js:74:15)
    at Object.<anonymous> (/home/dominic/c/experiments/node_modules/levelup/lib/levelup.js:3:39)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)

Node.js LevelDB member

Resolved on IRC; but for anyone else reading this:

Currently LevelUP doesn't support debug builds, if you use the --debug flag during compile/install then you'll get one, likewise if you have a debug Node build installed (compiled with --debug, also the default on nave) then it'll do a debug build of LevelUP.

I'll need to resolve this cause it's a little annoying; but in the meantime, just use a non-debug build and you'll be cool.

@rvagg rvagg closed this Nov 16, 2012
Node.js LevelDB member

so the problem here was that I'd installed node with nave, which enables debug mode by default, to fix it I installed a new node with

echo "NAVE_CONFIG=' '" > ~/.naverc

then installed levelup fresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment