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

Wireshark for Solaris Issue: g_int64_hash

0

I installed wireshark and all of its dependencies for Solaris 10. However, when I try to open it, I get the following error:

ld.so.1: wireshark: fatal: relocation error: file /opt/csw/lib/sparcv8/libwireshark.so.5: symbol g_int64_hash: referenced symbol not found

Do you know the cause of this issue? Is this related to glib? Other sites mentioned updating glib to version 2.22 or later, where this installation appears to be 2.0. If so, is that package available for download?

asked 10 Feb '17, 13:24

sewalters's gravatar image

sewalters
0113
accept rate: 0%


2 Answers:

1

Well, if you look here you'll see they are correct; this function requires Glib version 2.22.

I've found a reference here but I'm no expert on Solaris, so this may not be the right one for you. At least it tell's there are suitable packages/libraries out there.

answered 10 Feb '17, 14:11

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Based on https://wiki.wireshark.org/Development/Support_library_version_tracking, Wireshark 2.0 and 2.2 should still work with GLib 2.14. For older versions, the files epan/g_int64_hash_routines.c (and .h) were introduced in v1.99.3rc0-165-gcfb1bc3bb4. If not, then it is likely a bug. @sewalters what Wireshark version were you trying to build?

(13 Feb '17, 17:02) Lekensteyn

0

Updating Glib to version 2.22 successfully fixed my issue. I was able to retrieve the file from the link provided (OpenCSW). I was confusing Glib with libglib (thinking they were the same), which contributed to my problem! Thanks for the assistance!

answered 19 Feb '17, 13:58

sewalters's gravatar image

sewalters
0113
accept rate: 0%