Skip to content
ohsudo, Home

Tags

#glibc

not found
Docker & Containers

Alpine "not found" for a binary that's right there: glibc vs musl

A binary exists on Alpine, yet running it says "not found" or "no such file or directory": it was built for glibc. Check with ldd, then rebuild it or use gcompat.

Intermediate · 4 min read

error while loading shared libraries
Linux

"error while loading shared libraries" and "GLIBC_2.xx not found": what the loader is telling you

Fix Linux "error while loading shared libraries: cannot open shared object file" and "version GLIBC_2.xx not found": use ldd, install the library, run ldconfig, rebuild.

Intermediate · 5 min read