tecbot / gorocksdb

gorocksdb is a Go wrapper for RocksDB

Home Page:http://rocksdb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error installation on macos

hliao opened this issue · comments

commented

↵ 2  2638  go get github.com/tecbot/gorocksdb

github.com/tecbot/gorocksdb

Undefined symbols for architecture x86_64:
"_rocksdb_filterpolicy_create", referenced from:
_gorocksdb_filterpolicy_create in _x037.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_filterpolicy_create_bloom, __cgo_6fb194a50cc9_Cfunc_rocksdb_filterpolicy_create_bloom_full )
"_rocksdb_options_set_hard_rate_limit", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_hard_rate_limit in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_hard_rate_limit)
"_rocksdb_options_set_max_mem_compaction_level", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_max_mem_compaction_level in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_max_mem_compaction_level)
"_rocksdb_options_set_purge_redundant_kvs_while_flush", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_purge_redundant_kvs_while_flush in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_purge_redundant_kvs_while_flush)
"_rocksdb_options_set_rate_limit_delay_max_milliseconds", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_rate_limit_delay_max_milliseconds in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_rate_limit_delay_max_milliseconds)
"_rocksdb_options_set_skip_log_error_on_recovery", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_skip_log_error_on_recovery in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_skip_log_error_on_recovery)
"_rocksdb_options_set_soft_rate_limit", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_soft_rate_limit in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_soft_rate_limit)
"_rocksdb_options_set_table_cache_remove_scan_count_limit", referenced from:
__cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_table_cache_remove_scan_count_limit in _x017.o
(maybe you meant: __cgo_6fb194a50cc9_Cfunc_rocksdb_options_set_table_cache_remove_scan_count_limit)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@hliao what version of RocksDB do you have built on your machine?