What version of Go are you using (go version
)?
$ go version 1.17
What operating system are you using?
Rhel 7
What version of Badger are you using?
v3.2103.2
Does this issue reproduce with the latest master?
yes
Steps to Reproduce the issue
install jemalloc
go run -tags=jemalloc main.go
What Badger options were set?
Default options
What did you do?
go run -tags=jemalloc main.go
What did you expect to see?
What did you see instead?
# github.com/dgraph-io/ristretto/z
vendor/github.com/dgraph-io/ristretto/z/calloc_jemalloc.go:73:9: could not determine kind of name for C.je_calloc
vendor/github.com/dgraph-io/ristretto/z/calloc_jemalloc.go:103:3: could not determine kind of name for C.je_free
vendor/github.com/dgraph-io/ristretto/z/calloc_jemalloc.go:143:2: could not determine kind of name for C.je_mallctl
vendor/github.com/dgraph-io/ristretto/z/calloc_jemalloc.go:170:2: could not determine kind of name for C.je_malloc_stats_print