Wireshark-users: Re: [Wireshark-users] Error while starting Wireshark 1.2.7

From: Vinod Parameswaran <vinodp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 2 May 2010 14:56:20 +1200 (NZST)
Hi Bill (and list),

Thanks for youe response. 

To answer your queries, I have downloaded and installed wireshark-1.2.7-2.fc14.i686.rpm from the following URL:

http://koji.fedoraproject.org/koji/buildinfo?buildID=165710

I am not sure how to find the glib2 version on my system. Could you please help me with the command?
BTW, after reading your response, I went ahead and downloaded glib-2.22.5.tar.gz  from the following link:

http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.22/

I was able to successfully build and install the glib library from the source (configure, make, make install). 

However, even after doing so, I get the same error while trying to start wireshark from the command-line.

Could you please point out if I have missed something?


Thanks in Advance.

reagrds
Vin



From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Sat, 01 May 2010 11:22:31 -0400

Vinod Parameswaran wrote:

    Hello list,

    I would like to seek your expert advice on an error that I see while trying to start Wireshark 1.2.7.

    I have installed Wireshark on Fedora Core 12.

    When I try to start Wireshark from the command-line, I see the following error:

    wireshark: symbol lookup error: /usr/lib/libwireshark.so.0: undefined symbol: g_malloc_n

    I could not get any help after trying to google for this particular error string.


How exactly did you "install" Wireshark on FC12 ??
What is the version of glib2 on  your system ?


Looking at the glib2 documentation I see that g_malloc_n is only available as of glib2 v2.24.

I also note that on my (up-to-date) FC12 that the glib2 version is 2.22.5.


[From the glib2 documentation]


This function is similar to g_malloc(), allocating (n_blocks * n_block_bytes) bytes, but care is taken to detect possible overflow during multiplication.

<snip>

Since 2.24


-------