rocksdb-api/install_rocksdb.sh
huangsimin 5a6d78bfb9 first
2020-03-03 18:31:48 +08:00

2 lines
157 B
Bash

CGO_CFLAGS="-I/usr/include/rocksdb" CGO_LDFLAGS="-L/usr/lib/x86_64-linux-gnu -lrocksdb -lstdc++ -lm -lz -llz4 -lzstd" go get -v github.com/tecbot/gorocksdb