Debugging dlopen with rpath and ldd