scripts/lddpath
2020-05-26 20:49:09 -04:00

4 lines
123 B
Bash
Executable File

#!/usr/bin/env bash
ldd "$1" | grep so | sed -e '/^[^\t]/ d' | sed -e 's/\t//' | sed -e 's/.*=..//' | sed -e 's/ (0.*)//'