Wireshark-users: Re: [Wireshark-users] Specifying custom GLIB directory when building tshark

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Fri, 12 Feb 2010 19:11:42 -0500
sudhakar govindavajhala wrote:
Hello all,

I am having problems building tshark (of wireshark-1.3.3 and
wireshark-1.2.6).  This is because by default Centos 5.3 provides GLIB 1.2
only.


I downloaded and compiled a newer version of GLIB.  How do I tell
./configure for tshark to look in the new directory for glib?



The following recently worked for me (on a Fedora Linux system):

export LD_LIBRARY_PATH=$HOME/local/lib
PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig ./configure ...

where $HOME/local was the 'prefix' I used when building and installing a local version of GLib/GTK.

I'm certainly not an expert on this so there may be a better way.

PS: Please don't cross-post.... Core developers monitor both lists.