ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-users: Re: [Ethereal-users] Re: Strange behaviour ethereal 0.9.0 (self compiled) cap

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 4 Feb 2002 13:32:22 -0800 (PST)
> > What does the Ethereal in the binary package from Slackware report with
> > "ethereal -v" and "ldd ethereal"?
> >
> Here we are:
> 
> /usr/bin/ethereal -v
> ethereal 0.9.0, with GTK+ 1.2.10, with GLib 1.2.10, with libpcap 0.6, with
> libz 1.1.3, without SNMP
> 
> ldd /usr/bin/ethereal
>         libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x40017000)
>         libgtk-1.2.so.0 => /opt/gnome/lib/libgtk-1.2.so.0 (0x400e1000)
>         libgdk-1.2.so.0 => /opt/gnome/lib/libgdk-1.2.so.0 (0x40206000)
>         libgmodule-1.2.so.0 => /opt/gnome/lib/libgmodule-1.2.so.0
> (0x40238000)
>         libglib-1.2.so.0 => /opt/gnome/lib/libglib-1.2.so.0 (0x4023b000)
>         libdl.so.2 => /lib/libdl.so.2 (0x4025e000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40263000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40270000)
>         libm.so.6 => /lib/libm.so.6 (0x40327000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x40349000)
>         libc.so.6 => /lib/libc.so.6 (0x40358000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

And you said the other version reported:

> ethereal -v say:
> ethereal 0.9.0, with GTK+ 1.2.10, with GLib 1.2.10, with libpcap 0.7,
> with libz 1.0.8, without SNMP
> ldd ethereal
>         libsnmp.so.3.7 => /lib/libsnmp.so.3.7 (0x40021000)
>         libgtk-1.2.so.0 => /opt/gnome/lib/libgtk-1.2.so.0 (0x40d79000)
>         libgdk-1.2.so.0 => /opt/gnome/lib/libgdk-1.2.so.0 (0x40e9e000)
>         libgmodule-1.2.so.0 => /opt/gnome/lib/libgmodule-1.2.so.0
> (0x40ed0000)
>         libglib-1.2.so.0 => /opt/gnome/lib/libglib-1.2.so.0 (0x40ed3000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40ef6000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40efb000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40f08000)
>         libm.so.6 => /lib/libm.so.6 (0x40fbf000)
>         libc.so.6 => /lib/libc.so.6 (0x40fe1000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Note that they are *not* linked with the same version of libz.

Try building with "--disable-libz".  If that works, it's almost
certainly a libz problem of some sort.

Where did the libz on your system come from?

Are you running the same version of Slackware as the one on which the
Ethereal binary was built?  (No, I don't know what version that was, nor
do I know whom to ask to find out what version it was.)