CGO_CFLAGS="-I/path/to/rocksdb/include" \
CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" \
go get github.com/tecbot/gorocksdb
Does not work
(On linux)
I have installed the static library of rocksdb (dynamic library does is not build) in ./rocksdb
CGO_CFLAGS="-Irocksdb/include" CGO_LDFLAGS="-Lrocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" go install github.com/tecbot/gorocksdb@latest
package github.com/tecbot/gorocksdb is not a main package
Does not work
(On linux)
I have installed the static library of rocksdb (dynamic library does is not build) in ./rocksdb
Does not work
(On linux)