How can I find the full file path given a library name like libfoo.so.1? September 13, 2023 by Tarik Use ldconfig which is the tool that manages link space. The -p flag lets you browse all available linkable libraries.