axodotdev / axodotdev/cargo-dist

glibc check: alternatives to ldd needed

Open
#1,439 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

We use `ldd` to determine glibc's version. While this is commonly available, it may be missing on some minimal Linux distros. It would be good for us to provide fallbacks so we can still determine the glibc version.

This was reported via uv, where a user was using WolfiOS with no `ldd` by default: https://github.com/astral-sh/uv/issues/7903

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. Start by locating the ldd-based glibc version check, then review the WolfiOS report in uv issue 7903; done means the version can still be determined on minimal Linux systems without ldd, with coverage for the fallback behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
operating-systems, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.