Wireshark-dev: Re: [Wireshark-dev] Could NOT find GLIB2 (missing: GLIB2_LIBRARY GLIB2_MAIN_INCL
From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Mon, 11 Mar 2019 18:57:25 +0100
Did you install the developement libraries?

Den mån 11 mars 2019 17:23Dario Lombardo <lomato@xxxxxxxxx> skrev:
Hi Mike
Did you try the script tools/rpm-setup.sh? It should do the dirty job for you. It supports centos7.

On Mon, Mar 11, 2019 at 5:07 PM Mike Mohler <mike.mohler@xxxxxxxxxxx> wrote:
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)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Naima is online.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe