Git Product home page Git Product logo

Comments (8)

rvagg avatar rvagg commented on July 28, 2024

@direvius can you try removing it all and reinstalling please? it's possible you have a version conflict here if you're using nvm.

cd /home/direvius/learn/leveldb/
rm -rf node_modules/leveldown/ node_modules/bindings/ node_modules/nan/ # these last 2 just in case
npm install leveldown

then see how it goes after that, let us know.

from leveldown.

direvius avatar direvius commented on July 28, 2024

https://gist.github.com/direvius/8021026 -- doesn't work =(

direvius@direvius-ub:~/learn/leveldb$ npm list
/home/direvius/learn/leveldb
└─┬ [email protected]
  ├── [email protected]
  └── [email protected]

direvius@direvius-ub:~/learn/leveldb$ node --version
v0.11.9
direvius@direvius-ub:~/learn/leveldb$ npm --version
1.3.15

from leveldown.

rvagg avatar rvagg commented on July 28, 2024

I honestly don't know what's going on here. Works for me with exactly the same versions on Ubuntu; although I'm on 13.04 and 13.10 here so perhaps it's to do with older libc or something.
We're generally able to keep up with Node master but can't make guarantees. My best suggestion is to not use a development version of Node and stick with 0.10.x for now.
I'll fire up a 12.10 in Docker when I have time and see what result I get there.

from leveldown.

direvius avatar direvius commented on July 28, 2024

Yeah, it works with 0.10.23, thank you!

from leveldown.

Modified avatar Modified commented on July 28, 2024

I'm getting this:
Error: $PROJECT/node_modules/level/node_modules/leveldown/build/Release/leveldown.node: undefined symbol: _ZNK2v85Value6IsNullEv

Using:

  • Ubuntu 12.10
  • Node 0.10.20
  • Level 0.18.0 (levelup 0.18.2, leveldown 0.10.2)

Help?

EDIT: upgrading to Node 0.10.25 (from Ubuntu PPA) and deleting and reinstalling level, made this problem go away. I still consider this a bug, though.

from leveldown.

rvagg avatar rvagg commented on July 28, 2024

@Modified thanks for the report, the odd thing about your issue is that v8::Local<T>->IsNull() is a standard V8 method that hasn't changed since .. I have no idea, it's always been there.

I wonder if the problem here might be related to multiple versions of Node on the same machine? If you're using Node from some other source than Chris Lea's Node PPA then perhaps it's compiling against one and running against another. I really don't know but I don't believe there's anything we can do on our end about this.

In future if anyone has stuff to contribute to this thread, please paste in the full install/compile log from npm install so we can see Node/npm/node-gyp/etc. versions as they are printed out during install.

from leveldown.

yorkie avatar yorkie commented on July 28, 2024
node: symbol lookup error: /opt/Beanstalk/tender/node_modules/leveldown/build/Release/leveldown.node: 
undefined symbol: _ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEENS1_INS0_8
FunctionEEEiPNS1_INS0_5ValueEEE

The same problem is troubling me under centos and node v0.11.10, but it works in my osx10.9 and node v0.11.10. I mostly agreed on this crush in run-time is caused by node itself.

from leveldown.

rvagg avatar rvagg commented on July 28, 2024

When we get v0.11.12 I'll get my head back in to 0.11 and see if I can work out what on earth this might be. I've been unable to replicate it for myself (I'm a full-time Linux user too!) thus far.

from leveldown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.