You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filing this for informational purposes, as the real problem is how homebrew package manager gives no option to install a lower version of rocksdb (e.g. 6.29.5). Basically your only choice is to install the latest version.
Mac-mini herald % env CGO_LDFLAGS="-L/opt/homebrew/lib -lrocksdb -lstdc++ -lm -lz -lsnappy -llz4 -lzstd" CGO_CFLAGS="-I/opt/homebrew/include/rocksdb" go build .
# github.com/linxGnu/grocksdb
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:2291:13: could not determine kind of name for C.rocksdb_options_get_base_background_compactions
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1129:17: could not determine kind of name for C.rocksdb_options_get_hard_rate_limit
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1143:14: could not determine kind of name for C.rocksdb_options_get_rate_limit_delay_max_milliseconds
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1387:20: could not determine kind of name for C.rocksdb_options_get_skip_log_error_on_recovery
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1115:17: could not determine kind of name for C.rocksdb_options_get_soft_rate_limit
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:2286:2: could not determine kind of name for C.rocksdb_options_set_base_background_compactions
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1124:2: could not determine kind of name for C.rocksdb_options_set_hard_rate_limit
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:755:2: could not determine kind of name for C.rocksdb_options_set_max_mem_compaction_level
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1313:2: could not determine kind of name for C.rocksdb_options_set_purge_redundant_kvs_while_flush
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1137:2: could not determine kind of name for C.rocksdb_options_set_rate_limit_delay_max_milliseconds
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1380:2: could not determine kind of name for C.rocksdb_options_set_skip_log_error_on_recovery
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1110:2: could not determine kind of name for C.rocksdb_options_set_soft_rate_limit
../go/pkg/mod/github.com/linx!gnu/[email protected]/options.go:1183:2: could not determine kind of name for C.rocksdb_options_set_table_cache_remove_scan_count_limit
I worked around this by upgrading grocksdb linkage to match the rocksdb that I have at the moment.
(lbry-venv-3.9) Mac-mini lbry-sdk % brew info rocksdb
rocksdb: stable 7.4.3 (bottled), HEAD
Embeddable, persistent key-value store for fast storage
https://rocksdb.org/
/opt/homebrew/Cellar/rocksdb/7.0.3 (138 files, 37.7MB) *
Poured from bottle on 2022-04-29 at 16:21:30
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/rocksdb.rb
License: GPL-2.0-only or Apache-2.0
==> Dependencies
Build: cmake ✔
Required: gflags ✔, lz4 ✔, snappy ✔, zstd ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 1,498 (30 days), 2,737 (90 days), 13,789 (365 days)
install-on-request: 1,246 (30 days), 2,388 (90 days), 11,101 (365 days)
build-error: 0 (30 days)
Here is my patch to make my current rocksdb v7.0.3 work:
Filing this for informational purposes, as the real problem is how homebrew package manager gives no option to install a lower version of rocksdb (e.g. 6.29.5). Basically your only choice is to install the latest version.
I worked around this by upgrading grocksdb linkage to match the rocksdb that I have at the moment.
Here is my patch to make my current rocksdb v7.0.3 work:
The text was updated successfully, but these errors were encountered: