dgraph-io / badger

Fast key-value DB in Go.

Home Page:https://dgraph.io/badger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: /lib64/libc.so.6: version `GLIBC_2.34' not found

adpande opened this issue · comments

What version of Badger are you using?

4.2.0

What version of Go are you using?

1.21

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

1GB, 1 vCPU, Amazon Linux 2

What steps will reproduce the bug?

Update dependency to

github.com/dgraph-io/badger/v4 v4.2.0

Try to run binary on amazon linux 2.

Expected behavior and actual result.

It should run, but it fails with error:

/lib64/libc.so.6: version `GLIBC_2.34' not found

Additional information

No response

Could you try running make jemalloc in the badger directory and check whether that helps? badger requires jemalloc, I am not sure whether go mod tidy will end up installing jemalloc