Ask Your Question

Revision history [back]

Compiling Wireshark from source using a custom build of libpcap

I'm trying to compile wireshark from source using a custom lipcap that I developed from source and saved in /opt/libpcap. I tried following the instructions in a previous post, however they mentioned using the configure build tool, whereas wireshark (as of the latest at time of this post) requires the usage of cmake to build from source. How would I specify that I want to use my custom libpcap build instead of the system's?

I am currently operating on CentOS7 with cmake built from source:

CentOS Linux release 7.4.1708 (Core) cmake version 3.22.3

The CentOS version is out of date due to yum installation, and a compiled version is required to be more up to date.