You are trying to install Snort on Ubuntu. You have installed hwloc (because you know the command hwloc-info works). But when you try to run a configure script (e.g., configure_cmake.sh), you get this error:
"-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at cmake/FindHWLOC.cmake:6 (message):
ERROR! hwloc library not found.
Get it from https://www.open-mpi.org/projects/hwloc/
Call Stack (most recent call first):
How do you troubleshoot this "Could not find PkgConfig: Missing:" error?
Install several packages with the following command:
sudo apt-get -y install libxext-dev libpng-dev libimlib2-dev libglew-dev libxrender-dev libxrandr-dev libglm-dev
# If one or two of the above is not found, do not be alarmed. The above command may still solve the problem.