Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when i get last version,when i maked, import leveldb,then raise a error #1

Closed
dreampuf opened this issue Sep 6, 2011 · 2 comments
Closed

Comments

@dreampuf
Copy link

dreampuf commented Sep 6, 2011

In [1]: import leveldb
ImportError Traceback (most recent call
last)

/home/xxxxx/ in ()

ImportError: libsnappy.so.1: cannot open shared object file: No such file or directory

ubuntu 11.04 python2.5 snappy r48

@forhappy
Copy link
Owner

forhappy commented Sep 7, 2011

you should make sure libsnappy.so is in you system path, or use export LD_LIBRARY_PATH=$pathofsnappyyouinstall in you opening shell,then under python iteractive mode you can use 'import leveldb'.
Thanks for testing! I'll improve cpy-leveldb in later time!

@dreampuf
Copy link
Author

dreampuf commented Sep 7, 2011

I'm excute "export LD_LIBRARY_PATH=/usr/local/lib/", then is OK.thanks

@dreampuf dreampuf closed this as completed Sep 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants