# I don't think ldd uses path for finding libraries, you could try with LD_PRELOAD variable instead, probably