man ldconfig may help you
/etc/ld.so.cache File containing an ordered list of libraries found in the directories specified in /etc/ld.so.conf, as well as those found in /lib and /usr/lib.
but your distrib may contain other info than mine, so you should read yours.
Another way to decide what/which libraries are bound to your executable is to use the ldd program An example:
ldd /bin/echo linux-vdso.so.1 => (0x00007ffc2277a000) libc.so.6 => /lib64/libc.so.6 (0x0000003edc200000) /lib64/ld-linux-x86-64.so.2 (0x0000003edbe00000)