What is ldconfig used for

/etc/ldconfig is used by applications to find shared object files. It's basically a list of paths to search for any loadable object.