-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glibc check: alternatives to ldd needed #1439
Comments
I have cursed knowledge relevant to your quest. 😄 Your best bet is probably Elaborating a bit:
Works on at least Debian and WolfiOS; not sure if it's 100% universal on glibc systems, so it might make sense to try both |
If a full path is needed, it seems to usually be |
The information varies a bit by distro, but I think running Debian:
WolfiOS:
Fedora:
ArchLinux:
Alma Linux:
|
Note that we still want to run
(And presumably on other musl distros) |
This issue's specifically about glibc - we're not doing dynamic musl builds/system musl version checking yet. |
got it! though yet is load-bearing here because... musl target's eventually going to change (has been in the works since 2021), we're going to need to care about this at this point |
Yes, agreed! We've been tracking that progress for sure. I just mean that it's not relevant to this issue - we'll want to do it when we start musl version tracking |
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: astral-sh/uv#7903The text was updated successfully, but these errors were encountered: