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

could not determine kind of name for C.* #234

Open
LikeTheWindGone opened this issue Apr 24, 2024 · 1 comment
Open

could not determine kind of name for C.* #234

LikeTheWindGone opened this issue Apr 24, 2024 · 1 comment

Comments

@LikeTheWindGone
Copy link

LikeTheWindGone commented Apr 24, 2024

my env

os: ubuntu 22 amd 64
go version: 1.22
rocksdb version: 9.2.0

the header files is at '/usr/include/rocksdb' and librocksdb.so is at '/usr/lib/x86_64-linux-gnu' ,

get gorocksdb by

CGO_CFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib/x86_64-linux-gnu -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd"   go get github.com/tecbot/gorocksdb

output:

# github.com/tecbot/gorocksdb
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:948:2: could not determine kind of name for C.rocksdb_options_set_access_hint_on_compaction_start
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:759:2: could not determine kind of name for C.rocksdb_options_set_hard_rate_limit
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:498:2: could not determine kind of name for C.rocksdb_options_set_max_mem_compaction_level
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:871:2: could not determine kind of name for C.rocksdb_options_set_purge_redundant_kvs_while_flush
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:767:2: could not determine kind of name for C.rocksdb_options_set_rate_limit_delay_max_milliseconds
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:910:2: could not determine kind of name for C.rocksdb_options_set_skip_log_error_on_recovery
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:750:2: could not determine kind of name for C.rocksdb_options_set_soft_rate_limit
../../../gopath/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/options.go:793:2: could not determine kind of name for C.rocksdb_options_set_table_cache_remove_scan_count_limit

help wanted

@Fantasim
Copy link

Same error

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