Menu

#ReadElf

1 post

Feed
1 of 1 post
ldd says 'not a dynamic executable' — your static binary is fine
📰
0Read More

ldd says 'not a dynamic executable' — your static binary is fine

DEV Community: docker·Weifeng Liu·1 day ago
#lpRyWuLM
#devtodocker#devto#dev#binary#static

ldd only inspects dynamically linked binaries. On a static Go, Rust or musl binary it prints 'not a dynamic executable' and exits 1 - the binary is fine. How to confirm it, what to use instead, and when the message really matters.

15s