Ethereal-dev: Re[2]: [ethereal-dev] ethereal-0.7.7 - hangs in recvfrom() on RH6.1
Guy Harris <guy@xxxxxxxxxx> wrote:
> > I've built the recent versions of ethereal on RH6.1, but when
> > I try capture, they just hang - strace/ltrace shows that it is
> > is making a call to recvfrom().
> >
> > Any binaries built on RH5.2 work ok on the RH6.1 system.
>
> What does "ldd" say when run on the binaries built on RH 5.2?
>From the RH6.1 machine:
hpqs0580# ldd `whence ethereal`
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40013000)
libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x4001b000)
libz.so.1 => /usr/lib/libz.so.1 (0x40054000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40063000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40183000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401b5000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401b8000)
libdl.so.2 => /lib/libdl.so.2 (0x401db000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401de000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401ea000)
libm.so.6 => /lib/libm.so.6 (0x4028e000)
libc.so.6 => /lib/libc.so.6 (0x402aa000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> What does it say whan run on the binaries built on RH 6.1?
hpqs0580# ldd `whence ethereal`
libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x40018000)
libz.so.1 => /usr/lib/libz.so.1 (0x40052000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40061000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40181000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401b3000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401b6000)
libdl.so.2 => /lib/libdl.so.2 (0x401d8000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401dc000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401e8000)
libm.so.6 => /lib/libm.so.6 (0x4028c000)
libc.so.6 => /lib/libc.so.6 (0x402a8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> Have you patched the source to the "libpcap" on either of the
> machines on which you built Ethereal, using the patch described in
> the "README.linux" file?
No, in both cases, this is just the stock RH installation.
On RH6.1:
hpqs0580# rpm -q libpcap tcpdump
libpcap-0.4-16
tcpdump-3.4-16
On RH5.2:
hpqs0585: rpm -q libpcap tcpdump
libpcap-0.4-5
tcpdump-3.4-5
IIRC, the tcpdump and libpcap RPMs are build from the same (tcpdump)
source RPM.
I haven't yet looked at what has gone into the RPM package.
Barrie
--
Barrie Spence (313-2465) Agilent Technologies UK Ltd
E-Mail: baz@xxxxxxxxxx South Queensferry, UK
Play: barrie@xxxxxxxxxxxxxxxxxx #include <std/disclaimer.h>