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

Rocksdb support fail to build #662

Open
Galadrin opened this issue Jan 18, 2022 · 0 comments
Open

Rocksdb support fail to build #662

Galadrin opened this issue Jan 18, 2022 · 0 comments

Comments

@Galadrin
Copy link

To support RocksDb backend, the binary need to be built with rocksdb tag

BUILD_TAGS=rocksdb make install

The build failt with the following error :

--> Ensure dependencies have not been modified
all modules verified
--> Installing...
CGO_ENABLED=0 go install -mod=readonly -tags "netgo ledger rocksdb" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=umee -X github.com/cosmos/cosmos-sdk/version.AppName=umeed -X github.com/cosmos/cosmos-sdk/version.Version=v0.3.0 -X github.com/cosmos/cosmos-sdk/version.Commit=0ed4dba863878e0c10baf600bbb0b6ff46f7ed9a -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo ledger rocksdb," -X github.com/tendermint/tendermint/version.TMCoreSemVer=v0.34.14' ./...
# github.com/tendermint/tm-db
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:22:10: undefined: gorocksdb.DB
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:23:10: undefined: gorocksdb.ReadOptions
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:24:10: undefined: gorocksdb.WriteOptions
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:25:10: undefined: gorocksdb.WriteOptions
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:47:59: undefined: gorocksdb.Options
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:141:26: undefined: gorocksdb.DB
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_batch.go:9:9: undefined: gorocksdb.WriteBatch
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:12:14: undefined: gorocksdb.Iterator
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:20:33: undefined: gorocksdb.Iterator
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:138:26: undefined: gorocksdb.Slice
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:138:26: too many errors
make: *** [Makefile:75: install] Error 2

@Galadrin Galadrin changed the title Rocksdb support does not build Rocksdb support fail to build Jan 18, 2022
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