Linux Installation Error: PKG config not found
When using compile to install, the following error occurs when executing./configure:
... ... checking for pkg-config... no pkg-config not found configure: error: Please reinstall the pkg-config distribution
Prompt: configuration error, please reinstall PKG configuration distribution
Solution: according to the prompt, install PKG config:
sudo apt-get install pkg-config
Expand knowledge:
About PKG config:
pkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line so an application can use gcc -o test test.c `pkg-config –libs –cflags glib-2.0` for instance, rather than hard-coding values on where to find glib (or other libraries). It is language-agnostic, so it can be used for defining the location of documentation tools, for instance.
Similar Posts:
- Troubleshooting MySQL Python error on MAC
- Error in Python compilation on MAC no module named mysqldb
- CentOS 7: How to Solve Mysqlclient Install Error
- Wrong permissions on configuration file, should…
- [Solved] Linux zbar Compile error: /usr/include/x86_64-linux-gnu/bits/stdio2. h:143:1: error: expected identifie….
- [Solved] linux configure: error: no acceptable C compiler found in $PATH
- [Solved] Linux Error: configure: error: C compiler cannot create executables
- [Solved] Docker Install Error: repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found Trying other mirror.
- [Solved] configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- [Solved] Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-9enuqi/My…