Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Add support for older GLIBC versions and musl targets to improve Linux compatibility #249

@luckzylp

Description

@luckzylp

Problem / Background

The current Linux binaries require a recent GLIBC version (GLIBC_2.39 or higher), which makes them incompatible with many older or long-term-support systems, such as:

  • Ubuntu 16.04 (Xenial) — ships with GLIBC 2.23
  • Ubuntu 20.04 (Noble) — ships with GLIBC 2.31
  • Ubuntu 22.04 (Jammy) — ships with GLIBC 2.35
  • CentOS 7 / RHEL 7 derivatives (GLIBC 2.17)
  • Many minimal Docker base images and legacy environments

Example error when running on Ubuntu 16.04:

./csharp-language-server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.30' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./csharp-language-server)
./csharp-language-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by ./csharp-language-server)

I raised a PR #248 to add support for this requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions