On Wed, Sep 11, 2002 at 10:32:17PM -0400, subramoni padmanabhan wrote:
>    I have installed the latest version of libpcap on my system which runs 
> RHL 7.1 with a 2.4.2-2 kernel. I need this to capture packets on all 
> interfaces. Now what do I do? Should I recompile the kernel for the changes 
> to take effect so that the new version of libpcap comes into play?

Well, as per the mail I sent you, libpcap isn't part of the kernel, so
recompiling the kernel will make no difference whatsoever as to whether
the new version of libpcap is used or not.

If the new version of libpcap isn't installed as a shared library on top
of (i.e., replacing) the old version of libpcap, you will, however, have
to recompile any programs that *use* libpcap if you want them to be able
to use the "any" device, and if there are any programs that use libpcap
but aren't dynamically linked with libpcap, those programs will have to
be recompiled in any case, as only programs dynamically linked with
libpcap will use a new version of libpcap without recompilation, and
they'll only use it if you install the new version's shared library on
top of the old version's shared library (or if you tweak the run-time
linker's path, or something such as that, to run the new version;
tweaking that, e.g. by setting LD_LIBRARY_PATH, is left as an exercise
for the reader, but note that the LD_LIBRARY_PATH environment variable
will not affect the behavior of set-UID or set-GID programs).
-
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

Reply via email to