> On Wed, 24 Jan 2001 [EMAIL PROTECTED] wrote:
> > I have downloaded tcpdump-3.6.1 and configured the utility enabling IPv6.
> > Libraries were installed succesfully.
> >
> > But when i was trying install ksnuffle0-3-4 i got an error
> > Error : failed dependencies
> > libpcap >=4 is needed by ksnuffle-0-3.4
>
> There are no libpcap >= 4 that I'm aware of.
I've no experience with RPM (my Linux partition at home runs Debian), so
I don't know what the significance of a version number of "4" has;
perhaps it's the minor version number (as in "0.4 or later"), or perhaps
it's the Red Hat version number - searching for a libpcap RPM on the Red
Hat Web site found that the latest one is "libpcap 0.4 - 29", so maybe
they mean "any version later than libpcap 0.4-4".
If there isn't an RPM of libpcap installed, attempts to install RPMs of
programs that use libpcap might fail *even if you've downloaded a
libpcap source tarball and compiled and installed it*, as, if you
download a source tarball and compile and install it, the RPM subsystem
doesn't know you've done that and wouldn't think you have libpcap
installed.
If the RPM programs won't automatically download and install RPMs on
which the RPM you're trying to install depends, it may well give an
error of that sort if you try to install ksnuffle (which is a sniffer
program:
http://www.quaking.demon.co.uk/ksnuffle.html
so I could easily believe it requires libpcap).
If that's the problem - i.e., he downloaded libpcap 0.6.1 and tcpdump
3.6.1 source tarballs from tcpdump.org, compiled and installed them, and
now RPM thinks there's no libpcap installed because there's not a
libpcap *RPM* installed, the fix may be to uninstall libpcap 0.6.1 and
tcpdump 3.6.1 ("make uninstall", in the source directories, should do
it), and then go to
http://rpmfind.net/linux/RPM/PLD/PLD-1.0/i386/PLD/RPMS/libpcap-0.6.1-1.i386.html
and download the RPM of 0.6.1 and install it (see
http://rpmfind.net/linux/RPM/LByName.html
for a pile of libpcap RPMs, of various flavors - I don't know what the
"3mdk" versions are, the "cvs20001217" versions are older than 0.6.1,
and most programs probably don't depend on the "-static-0.6.1" version
because, if they depend on it at all, it's because they require the
shared libraries). Then either download a tcpdump 3.6.1 RPM from
"rpmfind.net", or download the libpcap 0.6.1 developer RPM and build
tcpdump 3.6.1 from source.
I don't know if the 0.6.1 RPMs have IPv6 support. If not, but he needs
IPv6 support, the RPMs won't get him what he wants, so he'd probably
have to build and install the libpcap 0.6.1 source, with IPv6 enabled,
after installing the RPM. Note that
1) this won't help ksnuffle with IPv6 (if the 0.6.1 RPM doesn't
support RPM), if it's using the shared library (the tcpdump.org
tarballs don't support building shared libraries; doing so would
probably involve dragging in libtool, as we'd want to support
shared libraries on several platforms) - it'd still not be
using a libpcap shared library that supports IPv6;
2) this runs the risk that building software from source could
have all sorts of problems, as the program might, for
example, be compiled with the header files from the tarball
but be linked with the shared library (every so often, on the
Ethereal mailing list, somebody has a problem that ultimately
stems from having more than one version of some library
Ethereal uses installed).
But maybe the 0.6.1 RPMs *do* handle IPv6, in which case just going with
the RPMs may be the right answer.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe