Skip to content

I cannot get the module #235

Description

@swag-eag
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions