strace -fo /tmp/strace.out <command> sed -ne 's:^.*open("\(/usr/lib/.*\)", O_RDONLY) =\(.*\)$:\2 \1:gp' /tmp/strace.out |sort -u | fgrep -v ENOENT