@richlowe @mcc
`ldd -r` will also complain if any symbols cannot be found. I'm not sure whether loading a library with LD_PRELOAD will always do that.
Internally, `ldd` starts `ld.so` and instructs it to load this single dynamic library/executable via cmdline.