Troubleshooting

Optaining a list of libraries used by a working command

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