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
Back to top
docs/tips_n_tricks/troubleshooting.html.txt · Last modified: 2010/07/21 11:48 by peter