You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg-config is a program which helps in determining the compiler flags and linker flags required when linking with a dynamic library. It is used by many libraries used by collectd to provide this information and it is used by collectd'sconfigure script to query this information.
If you installed the library and its development files using a packaging system, such as APT (Debian, Ubuntu, …) or RPM (RedHat, SuSE, …), simply running collectd'sconfigure script should suffice.
If you installed a library “by hand”, for example using
$ ./configure --prefix=/opt/libmodbus-2.0.3
$ make all install
the required .pc-files will be lying in a non-standard directory. You can instruct the configure script to look in additional paths by setting the PKG_CONFIG_PATH environment variable: