-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
How to compile rocksdb with lz4 support? #814
Comments
You just have to install it on your system -- our compile process detects this automatically: https://github.com/facebook/rocksdb/blob/master/build_tools/build_detect_platform#L263 |
Thanks, I get it. But I got another issue with how to link librocksdb.a. I use Command:
Error:
|
I change my install command, add
The error become:
|
This looks like some library wasn't linked properly. Quick google search led me to this: http://stackoverflow.com/questions/16368480/xcode-when-i-have-a-library-that-is-using-c-why-must-i-use-compile-as-object |
I want to make a golang rocksdb server, link all required libraries inside on folder, without any dependencies with system environment.
|
I solved this eventually. Mac OS use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH. DYLD_LIBRARY_PATH=/path/to/rocksdb Every thing works well. |
I still can't compile rocksdb with lz4 support on mac OSX. it just not show any errors. Are there any way I can force the compile script force compile with lz4, so I can see any error exists. |
I have installed these on my system with yum, Then I compile rocksdb using "make release", the tool db_sanity_test can also link to the so file, But it can't support lz4 compression, |
I cloned lz4/lz4 from GitHub and ran
|
There is no document for how to compile rocksdb with lz4 support, I work on it for whole afternoon, failed.
The text was updated successfully, but these errors were encountered: