The the glic version used by an executable: objdump -T /usr/bin/ls | grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu | tail -1