Is there a GNU Linux built-in for getting a list of the filenames of shared libraries? I have considered parsing the output of
ldconfig -p. However, I'm not sure about consistency in output from system to system.
I am already aware that I could use
find but given that the linker / loader has a cache of libraries and locations, it seems more efficient to use it in some way. Additionally, the paths that the linker / loader searches are the only ones I'm concerned with--i.e libraries that have been processed by