-
Notifications
You must be signed in to change notification settings - Fork 60
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
ZanRedisDB make failed:undefined reference to `ZSTD_versionNumber' #56
Comments
rocksdb的zstd压缩开启了的话, 可以使用下面两种方式解决 添加CGO_LDFLAGS参数, 例如 CGO_LDFLAGS="-L/usr/local/lib -lrocksdb -lzstd" ,这样要求其他部署机器上也要安装 zstd 库 或者编译rocksdb时, 使用ROCKSDB_DISABLE_ZSTD禁用zstd |
/root/soft/rocksdb/./util/compression.h:844: undefined reference to 需要继续禁用LZ4? |
是的, 类似处理 |
github.com/youzan/gorocksdb
/root/soft/rocksdb/librocksdb.a(db_impl.o): In function
rocksdb::DBImpl::DBImpl(rocksdb::DBOptions const&, std::string const&, bool, bool)': /root/soft/rocksdb/./util/compression.h:275: undefined reference to
ZSTD_versionNumber'The text was updated successfully, but these errors were encountered: