Wireshark-dev: [Wireshark-dev] Could NOT find GLIB2 (missing: GLIB2_LIBRARY GLIB2_MAIN_INCLUDE_

From: Mike Mohler <mike.mohler@xxxxxxxxxxx>
Date: Sat, 9 Mar 2019 12:06:58 -0500
Running into the following problem trying to make wireshark 3.0 on CentOS 7.   I have installed cmake and it is installed in /usr/local/share/cmake-3.6.   My wireshark source is in /home/centos/wireshark-3.0.0 and my build folder is in /home/centos/build.   The glib libaries are installed.  When I run 'yum list glib'
and 'yum list glib2' is shows as both being installed.   Any help would be appreciated.

centos@ip-172-31-14-170 build]$ cmake ../wireshark-3.0.0
-- Generating build using CMake 3.6.2
-- CMake build type: RelWithDebInfo
-- V: 3.0.0, MaV: 3, MiV: 0, PL: 0, EV: .
-- Linker flags:  -Wl,--as-needed
-- Checking for one of the modules 'glib-2.0>=2.32.0'
CMake Error at /usr/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find GLIB2 (missing: GLIB2_LIBRARY GLIB2_MAIN_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindGLIB2.cmake:88 (find_package_handle_standard_args)
  CMakeLists.txt:997 (find_package)