| Hello, I worked on redhat and try to install wireshark from the sources. I compiled libpcap 1.8.1 with the following commands : 
 I configured wireshark 2.2.7 with the following command line : 
 with such a configuration, the make command failed several times due to the 'can't find pcap.h' failure. After correcting Makefiles on this point, the linker can't find libpcap binary ... I had to run the following commands to compile / link the sources without error : 
 Is it possible to 'correct' the configure in order not to have these failures ? Thanks for your work. asked 07 Jul '17, 01:46 timy67 | 
 
          
Do you have
pcap.hin/opt/include/pcap/pcap.h, and the pcap library (shared or static) in/opt/lib/libpcap.so(shared) or/opt/lib/libpcap.a(static)?