ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf (Taken from man pages)
I was having issues having the latest changes to my pathing reflected after updating my .bashrc. The old variable path was still showing us. Until I added the path on to /etc/ld.so.conf and run /sbin/ldconfig. The new path was reflected.