ldconfig not following symlinks

That command doesn’t do what you think. It’s not for you to use, it’s for library maintainers. (Too long to explain here and not relevant.) It looks like the problem is you have not installed the qt4inf library, whatever it is. You have to find the packages that contains it and install that.