We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
file
ldd
What steps will reproduce the bug?
wget https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-x86_64-unknown-linux-musl.tar.gz
tar -xf bat-v0.24.0-x86_64-unknown-linux-musl.tar.gz
cd bat-v0.24.0-x86_64-unknown-linux-musl/
file ./bat
ldd ./bat
What happens?
ldd says ./bat is 'statically linked', and it's actually is. But file says it's 'dynamically linked', which is a bit confused.
./bat
$ file ./bat ./bat: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped $ ldd ./bat statically linked
What did you expect to happen instead?
The output of file should be 'statically linked'
How did you install bat?
bat
From binaries
bat version and environment
$ ./bat --version bat 0.24.0 (fc95468)
The text was updated successfully, but these errors were encountered:
The result of arm-musl asset is consistent with other statically-linked binary executable file:
$ file bat bat: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped $ ldd ./bat not a dynamic executable
Sorry, something went wrong.
I noticed this on other binaries as well. Could be a bug with file itself?
→ file fd fd: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, stripped
vs
→ ldd fd statically linked
or
→ file rg rg: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, stripped
→ ldd rg statically linked
No branches or pull requests
What steps will reproduce the bug?
wget https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-x86_64-unknown-linux-musl.tar.gz
tar -xf bat-v0.24.0-x86_64-unknown-linux-musl.tar.gz
cd bat-v0.24.0-x86_64-unknown-linux-musl/
file ./bat
ldd ./bat
What happens?
ldd
says./bat
is 'statically linked', and it's actually is. Butfile
says it's 'dynamically linked', which is a bit confused.What did you expect to happen instead?
The output of
file
should be 'statically linked'How did you install
bat
?From binaries
bat version and environment
The text was updated successfully, but these errors were encountered: