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

Ethereal-users: [Ethereal-users] Why do I need Glib2 for tethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Glenn Newell" <Glenn.Newell@xxxxxxxxxxxx>
Date: Thu, 7 Jul 2005 17:30:24 -0700
Hi,

I'm trying to build a consistent tethereal version across all our
platforms:

RH 7.2 x86
RHEL 3.0 x86
RHEL 3.0 AMD64
Suse E9 EM64t
Solaris 2.5 - 2.9 sparc
HPUX 11
etc.

for the platforms that don't have native GLIB2 and GTK+ (such as RH 7.2
and Solaris), I'm configuring with:

--disable-ethereal --disable-gtktest --disable-glibtest

but I STILL get a config error for Glib2:

checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.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: GLib2 distribution not found.

Do I really need that if I'm not building a GUI?

On Solaris I went ahead and installed Glib2 (but not GTK+) and can get
past the configure problem, but then I have a link error:

Undefined                       first referenced
 symbol                             in file
libiconv                            epan/.libs/libethereal.so
libiconv_open                       epan/.libs/libethereal.so
libiconv_close                      epan/.libs/libethereal.so
register_all_plugin_tap_listeners   tethereal.o
ld: fatal: Symbol referencing errors. No output written to
.libs/tethereal
collect2: ld returned 1 exit status

A search of the list suggested tacking "." out of LD_LIBRARY_PATH, but
that didn't help .

Suggestions?

Thanks,
Glenn