valkey-glide: Compatibility: Valkey-GLIDE can't run on older Linux Systems

Describe the bug

Valkey-GLIDE can’t run on older systems like Ubuntu 20 or Amazon Linux 2

Expected Behavior

Valkey-GLIDE can run on older systems like Ubuntu 20 or Amazon Linux 2

Current Behavior

Depends on the binding, error message could include

undefined reference to `dlsym'

or

version `GLIBC_2.34' not found

Reproduction Steps

On an Ubuntu 20 or Amazon Linux 2 OS, create a minimum project with one of the binding languages, import Valkey-GLIDE, and try to build/compile/run.

Possible Solution

UPD as discussed below - use zigbuild to build in compatibility with older GLIBC versions.

Additional Information/Context

No response

Client version used

1.3.0

Engine type and version

Valkey 8.0.0

OS

Ubuntu 20.04 or Amazon Linux 2

Language

All

Language Version

N/A

Cluster information

No response

Logs

No response

Other information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

According to Avi, Python is done. Assign this issue to Avi for the remaining Node task.

I added zigbuild for java and go only. Will add for C# later.

@avifenesh thank you for the suggestion, will try.

As of Why AL2, we talked about the approach to compile on the “oldest GLIBC”, which according to user feedback, is what comes with AL2 (2.26), for maximizing GLIBC compatibility.

@jamesx-improving there are a lot of already opened issues in this regard, please use them, or better, close them and link them all to this one.