As noted, not all libraries necessarily use pkg-config
. Given that this is ArchLinux, as a fallback you could learn to use the package manager, to list the installed packages. That is called pacman
.
Anything that is installed as such on ArchLinux would be part of a package.
The query options can show you all of the files installed for given packages:
- To list all files for a given package, use
pacman -Ql
package_name
- To list all packages, use
pacman -Q
(scripting that, to list all ".so" files which are installed, by package name would be an interesting exercise).