sanity check ldd output (if we have ldd)