Skip to content
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

I cannot get the module #235

Open
swag-eag opened this issue Apr 30, 2024 · 0 comments
Open

I cannot get the module #235

swag-eag opened this issue Apr 30, 2024 · 0 comments

Comments

@swag-eag
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant