gorocks
gorocks copied to clipboard
fatal error: rocksdb/c.h: No such file or directory
root@ubuntu:~# CGO_CFLAGS="-I/path/to/rocksdb/include" CGO_LDFLAGS="-L/path/to/rocksdb" go get github.com/alberts/gorocks
# github.com/alberts/gorocks
go-code/storage/src/github.com/alberts/gorocks/batch.go:3:24: fatal error: rocksdb/c.h: No such file or directory
// #include "rocksdb/c.h"
^
compilation terminated.
while I build, it returns the above error. How should I resolve that