leveldb-ruby
leveldb-ruby copied to clipboard
undefined symbol: _ZN6snappy19MaxCompressedLengthEm
Hi
I've installed leveldb-ruby and I'm getting this when I try to use
ruby: symbol lookup error: /home/colin/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/leveldb-ruby-0.15/lib/leveldb/leveldb.so: undefined symbol: _ZN6snappy19MaxCompressedLengthEm
I found a reference to this problem in the closed issues but I couldn't see a solution. I have version leveldb-ruby-0.15 installed.
If you have any tips on how to get around this, I'd appreciate it. Thanks.
Colin
Any luck resolving this? I'm having the same problem.
No, I'm afraid not. Sorry mate. I would love to hear back from you if you do solve it though...
On Fri, Feb 8, 2013 at 4:12 PM, dbichko [email protected] wrote:
Any luck resolving this? I'm having the same problem.
— Reply to this email directly or view it on GitHubhttps://github.com/wmorgan/leveldb-ruby/issues/23#issuecomment-13277318.
Seems you have to install (and require) the 'snappy' gem separately - it wasn't quite clear from the docs.
I just ran into this problem too. Shouldn't snappy be a default dependency if it's used by default?
I have had this problem in the past - and fixed it by reinstalling libraries. Just started using it again after a long time and the same problem is there....
So I tried the leveldb-native gem (https://github.com/vjoel/ruby-leveldb-native) and that works fine.
may be too late for you,but i find the way to solve this:to remove all soft above snappy:libsnappy1v5,libsnappy-dev...,than you can make it successfully. And you can re-install snappy after that.