> "ldconfig -v" gives a huge output, so I've made it available via the link below: It looks like path is available to ld. ldconfig outputs info about the dynamic linker's search patch. ld doesn't use that. ld's search patch is the one you're interested in.