This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark relocation error : symbol g_int64_equal in solaris 10

0

Hi, I have installed wireshark for Solaris 10 and it dependency packages. Got all the packages from sunfreeware.com

But I am not able to run the application. It is throwing below error. could any one help us to resolve this issue

./wireshark

ld.so.1: wireshark: fatal: relocation error: file /usr/local/lib/libwireshark.so.1: symbol g_int64_equal: referenced symbol not found Killed

ldd wireshark

    libwiretap.so.1 =>       /usr/local/lib/libwiretap.so.1
    libwireshark.so.1 =>     /usr/local/lib/libwireshark.so.1
    libwsutil.so.1 =>        /usr/local/lib/libwsutil.so.1
    libpcap.so.1 =>  /usr/local/lib/libpcap.so.1
    libgtk-x11-2.0.so.0 =>   /usr/lib/libgtk-x11-2.0.so.0
    libgdk-x11-2.0.so.0 =>   /usr/lib/libgdk-x11-2.0.so.0
    libgdk_pixbuf-2.0.so.0 =>        /usr/lib/libgdk_pixbuf-2.0.so.0
    libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
    libgobject-2.0.so.0 =>   /usr/lib/libgobject-2.0.so.0
    libpthread.so.1 =>       /usr/lib/libpthread.so.1
    libthread.so.1 =>        /usr/lib/libthread.so.1
    libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
    libc.so.1 =>     /usr/lib/libc.so.1
    libm.so.2 =>     /usr/lib/libm.so.2
    libnsl.so.1 =>   /usr/lib/libnsl.so.1
    libz.so =>       /usr/lib/libz.so
    libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
    libgthread-2.0.so.0 =>   /usr/lib/libgthread-2.0.so.0
    libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
    librt.so.1 =>    /usr/lib/librt.so.1
    libintl.so.8 =>  /usr/local/lib/libintl.so.8
    libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
    libsec.so.1 =>   /usr/lib/libsec.so.1
    libsocket.so.1 =>        /usr/lib/libsocket.so.1
    libadns.so =>    /usr/local/lib/libadns.so
    libgcrypt.so.11 =>       /usr/local/lib/libgcrypt.so.11
    libgpg-error.so.0 =>     /usr/lib/libgpg-error.so.0
    libgnutls.so.13 =>       /usr/local/lib/libgnutls.so.13
    libcrypto.so.1.0.0 =>    /usr/local/ssl/lib/libcrypto.so.1.0.0
    libGeoIP.so.1 =>         /usr/local/lib/libGeoIP.so.1
    libatk-1.0.so.0 =>       /usr/lib/libatk-1.0.so.0
    libpangoxft-1.0.so.0 =>  /usr/lib/libpangoxft-1.0.so.0
    libpangox-1.0.so.0 =>    /usr/lib/libpangox-1.0.so.0
    libXft.so.2 =>   /usr/openwin/lib/libXft.so.2
    libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6
    libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
    libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
    libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
    libmlib.so.2 =>  /usr/lib/libmlib.so.2
    libXrandr.so.2 =>        /usr/X11/lib/libXrandr.so.2
    libXi.so.5 =>    /usr/openwin/lib/libXi.so.5
    libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
    libmp.so.2 =>    /lib/libmp.so.2
    libmd.so.1 =>    /lib/libmd.so.1
    libscf.so.1 =>   /lib/libscf.so.1
    libaio.so.1 =>   /lib/libaio.so.1
    libavl.so.1 =>   /lib/libavl.so.1
    libdl.so.1 =>    /lib/libdl.so.1
    libpangoft2-1.0.so.0 =>  /usr/lib/libpangoft2-1.0.so.0
    libexpat.so.0 =>         /usr/sfw/lib/libexpat.so.0
    libdoor.so.1 =>  /lib/libdoor.so.1
    libuutil.so.1 =>         /lib/libuutil.so.1
    libgen.so.1 =>   /lib/libgen.so.1
    /platform/SUNW,Sun-Blade-T6340/lib/libc_psr.so.1
    /usr/lib/cpu/sparcv9+vis2/libmlib.so.2
    /platform/SUNW,Sun-Blade-T6340/lib/libmd_psr.so.1

asked 11 Jul '11, 01:03

Muthu's gravatar image

Muthu
1111
accept rate: 0%

I have the same problem. Moreover I had installed glib before. Does Wireshark require specify version of glib?

(11 Jul '11, 06:18) p4w3k

I have the same problem.

My wireshark version is wireshark-1.6.1 and My glib version is glib-2.25.13 . The fatal is still like this.

Can any one help me?

(25 Aug '11, 02:05) firobaccano

3 Answers:

0

g_int64_equal is from glib. It looks like you're missing that dependency.

answered 11 Jul '11, 04:48

helloworld's gravatar image

helloworld
3.1k42041
accept rate: 28%

0

Ok, the thing is that you need to install current glib. I have installed glib-2.25.13 and it solved whole problem.

Regards

answered 11 Jul '11, 06:52

p4w3k's gravatar image

p4w3k
1
accept rate: 0%

I have installed all the packages dependencies for the wireshark and also installed glib with version 2.25.13 still I am getting same error : ld.so.1: wireshark: fatal: relocation error: file /usr/local/lib/libwireshark.so.1: symbol g_int64_equal: referenced symbol not found Killed

So could you pleaople tell me what went wrong in my case.

Thanks in advacnce ......... Ranjeet

(04 Oct '11, 04:21) Ranjeet

0

g_int64_equal was introduced in glib 2.22, so you'll need at least that version or later to use the package from sunfreeware. Alternatively, if you don't want to upgrade your glib version, you can compile Wireshark yourself from source. Wireshark currently still only requires glib 2.4 as the minimum version.

answered 11 Jul '11, 08:48

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

edited 11 Jul '11, 08:48

Issue was resolved after i installed glib2.22. Thanks a lot for the help.

(18 Jul '11, 01:11) Muthu