Reason #110 I love linux

for i in `ldd GHOP/jhs/gthumb/libgthumb/.libs/libgthumb.so | cut -d’ ‘ -f3`; do if ldd $i | grep glib | grep “\/usr\/lib” >/dev/null; then echo $i; fi; done

This little beauty, I hacked together to take all the deps of a particular library which was producing linker errors, see which of them were the culprit(s), and tell me.

Though I’m sure windows has a piece of $20 software which does something like this.  :)

1 comment so far

  1. Roger on

    You do realise that none of that is Linux specific, right? :)


Leave a reply