We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c356d6 commit bd4da31Copy full SHA for bd4da31
1 file changed
README.md
@@ -16,3 +16,13 @@ Please note that this package might upgrade the required RocksDB version at any
16
Vendoring is thus highly recommended if you require high stability.
17
18
*The [embedded CockroachDB RocksDB](https://github.com/cockroachdb/c-rocksdb) is no longer supported in gorocksdb.*
19
+
20
21
+## Exact example of building a cosmos chain on a mac
22
23
24
+```bash
25
+CGO_CFLAGS="-I/opt/homebrew/Cellar/rocksdb/6.27.3/include" \
26
+CGO_LDFLAGS="-L/opt/homebrew/Cellar/rocksdb/6.27.3/lib -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd -L/opt/homebrew/Cellar/snappy/1.1.9/lib -L/opt/homebrew/Cellar/lz4/1.9.3/lib/ -L /opt/homebrew/Cellar/zstd/1.5.0/lib/" \
27
+go install -tags rocksdb ./...
28
+```
0 commit comments