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

error installation on macos #223

Open
hliao opened this issue Aug 30, 2022 · 1 comment
Open

error installation on macos #223

hliao opened this issue Aug 30, 2022 · 1 comment

Comments

@hliao
Copy link

hliao commented Aug 30, 2022

↵ 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)

@moonbox3
Copy link

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

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

2 participants