I am looking for a utility that would behave in the same way as which, but to look up shared libraries (*.so) in the directories defined in $LD_LIBRARY_PATH?
|
|
||||
|
|
|
If you have an executable and you want to see where it's picking up libraries, run
This will account for libraries on the default search path as well as libraries in this executable's rpath if any. On Linux, paths to system libraries are cached for efficiency.
|
||||
|
|
|
If you are looking for a utility that will work like
|
||||
|
|
If your libraries are properly cached you should be abled to find it via:
If you search for a library that came with your distribution you could use the distribution means of searching for files within packages.
This will also output rpms that are not installed, but are part of your active installation sources. |
||||
|
|