forked from osmocom/wireshark
FAQ: Update and remove entries.
Generalize the "missing bpf.h" entry. Remove the UCD SNMP and Fink entries. Change-Id: I276f2387c4bf017c7ba4f0a37cce525efd1c24ae Reviewed-on: https://code.wireshark.org/review/35469 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
5cfd8bca95
commit
060716b8df
|
@ -256,50 +256,16 @@ named “wireshark-qt”. Find it and install it.
|
||||||
|
|
||||||
== Building Wireshark
|
== Building Wireshark
|
||||||
|
|
||||||
=== I have libpcap installed; why did the configure script not find pcap.h or bpf.h?
|
=== Why does building Wireshark fail due to missing headers (.h files)?
|
||||||
|
|
||||||
Are you sure pcap.h and bpf.h are installed? The official
|
If this is happening on Linux, it's likely due to missing development library packages.
|
||||||
distribution of libpcap only installs the libpcap.a library file when
|
For example, Debian and Ubuntu ship the GLib library in the libglib2.0-0 package, but ship its header files and other development assets in the libglib2.0-dev package.
|
||||||
"make install" is run. To install pcap.h and bpf.h, you must run "make
|
|
||||||
install-incl". If you're running Debian or Redhat, make sure you have
|
|
||||||
the "libpcap-dev" or "libpcap-devel" packages installed.
|
|
||||||
|
|
||||||
It's also possible that pcap.h and bpf.h have been installed in a
|
We maintain setup scripts (_*-setup.sh_) for many major distributions in the _tools_ directory of the Wireshark sources that can install the required development packages for you.
|
||||||
strange location. If this is the case, you may have to tweak aclocal.m4.
|
|
||||||
|
|
||||||
== Starting Wireshark
|
|
||||||
|
|
||||||
=== When I try to run Wireshark, why does it complain about `sprint_realloc_objid` being undefined?
|
|
||||||
|
|
||||||
Wireshark can only be linked with version 4.2.2 or later of UCD SNMP.
|
|
||||||
Your version of Wireshark was dynamically linked with such a version of
|
|
||||||
UCD SNMP; however, you have an older version of UCD SNMP installed,
|
|
||||||
which means that when Wireshark is run, it tries to link to the older
|
|
||||||
version, and fails. You will have to replace that version of UCD SNMP
|
|
||||||
with version 4.2.2 or a later version.
|
|
||||||
|
|
||||||
=== I've installed Wireshark from Fink on macOS; why is it very slow to start up?
|
|
||||||
|
|
||||||
When an application is installed on macOS, prior to 10.4, it is
|
|
||||||
usually "prebound" to speed up launching the application. (That's what
|
|
||||||
the "Optimizing" phase of installation is.)
|
|
||||||
|
|
||||||
Fink normally performs prebinding automatically when you install a
|
|
||||||
package. However, in some rare cases, for whatever reason the prebinding
|
|
||||||
caches get corrupt, and then not only does prebinding fail, but startup
|
|
||||||
actually becomes much slower, because the system tries in vain to
|
|
||||||
perform prebinding "on the fly" as you launch the application. This
|
|
||||||
fails, causing sometimes huge delays.
|
|
||||||
|
|
||||||
To fix the prebinding caches, run the command
|
|
||||||
|
|
||||||
----
|
|
||||||
$ sudo /sw/var/lib/fink/prebound/update-package-prebinding.pl -f
|
|
||||||
----
|
|
||||||
|
|
||||||
== Crashes and other fatal errors
|
== Crashes and other fatal errors
|
||||||
|
|
||||||
=== I have an XXX network card on my machine; if I try to capture on it, why does my machine crash or reset itself?
|
=== I have an _XXX_ network card on my machine; if I try to capture on it, why does my machine crash or reset itself?
|
||||||
|
|
||||||
This is almost certainly a problem with one or more of:
|
This is almost certainly a problem with one or more of:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue