sflee sflee - 5 months ago 14
Linux Question

Where is the list of modules under linux

I am using ubuntu and building project under autotools.

I am learning to use the macro

PKG_CHECK_MODULES
, the second parameter is
list-of-modules
from here.



I would like to ask how to find the
list-of-modules
and pick the correct module name. I have tried
dpkg --get-selections | grep -v deinstall
and get a long list, but am not sure how to pick the module names.

Answer

The name of the modules is the name of the .pc files that are installed by various dev packages; most of those would be found in /usr/lib/pkgconfig or /usr/share/pkgconfig.

(Full disclosure, I'm the author of the documentation you linked to, I guess I'll have to clarify that, thanks!)

Comments