Tag: Build

Linux Programming & Build Errors: gcc, ld, missing headers, ABI mismatch

Working reference for the 10 most common Linux build/compile/link errors. fatal error: header not found (install -dev / -devel), undefined reference (link order matters), library not found at runtime (ldd / LD_LIBRARY_PATH / ld.so.conf.d), GLIBC ABI mismatch (build in target container), segfault in tests, missing make/cmake (build-essential), Python ModuleNotFoundError, npm ENOSPC, exec on noexec mount, OOM during compile (lower -j, swap).