Compiling Wireshark from source using a custom build of libpcap

asked 2022-03-23 18:39:44 +0000

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.

edit retag flag offensive close merge delete

Comments

Barring any better instructions/solutions, I suspect you might have to "install" your custom libpcap for Wireshark to pick it up and build with it. Some tips for that route at https://ask.wireshark.org/question/16...

cuuld gravatar imagecuuld ( 2024-03-27 01:02:12 +0000 )edit