After I restart my computer, ld.so.cache still has the information in it, so my questions are as follows:Is the information always kept there? Isn't it being removed after restart or something like that? Like RAM or browser cache being deleted?After I have removed an application that installed some shared libraries, does it know to also remove the information from the ld.so.cache? If I use ldconfig will it remove the information? How does it actually work?If I am installing a program, how does my computer know to use the new libraries that had been added? After apt-get install is ldconfig run?
Relationship between ldconfig and ld.so.cache
linux;libraries;shared library