Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] glib problem with wireshark 1.12.3

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Wed, 11 Feb 2015 11:46:46 -0500
On 02/11/15 11:39, sothy shan wrote:
  Hi!

I tried to install wireshark 1.12.3 in RHEL 6.5.

I am doing following command.

$./configure --disable-wireshark

I got the following error.

checking for GLIB - version >= 2.16.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib 2.16.0 or later distribution not found.

You probably just need to install the glib2-devel package ("yum install glib2-devel"). RHEL 6 comes with glib 2.26.

For Glib, I downloaded glib 2.42.1
I followed three command as follows:

  $./configure

   $  make

    $ make install

That should have worked but it may be a question of where it was installed (/usr/local/ ?). I'd suggest doing a "make uninstall" and then installing the glib2-devel package instead.