Wireshark build failing on Mac Ventura
Failing when trying to build using both cmake and cmake ninja commands :
-- Found PCAP: /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/lib/libpcap.tbd -- Looking for pcap_lib_version -- Looking for pcap_lib_version - not found CMake Error at cmake/modules/FindPCAP.cmake:212 (message): You need libpcap 0.8 or later
I do have libpcap already installed : libpcap 1.10.3 is already installed and up-to-date.
Tried same process on another mac which is on Monterey and everything worked fine. Please let me know how to fix this. I have attached the Cmake files.
There are no files attached to this question.
Please attempt to attach the CMakeFiles/CMakeError.log file, from the build directory, to this question, and then check to see whether it's shown as an attachment. If it isn't, please either:
Without it, we cannot determine why that is happening; it does not happen on, for example, my Ventura virtual machine. It might be an issue with the way you installed libpcap (you are not required to install libpcap in order to build Wireshark, given that it's shipped with macOS and the headers are shipped with Xcode and should also be shipped with the command-line tools, and the version of libpcap that comes ...(more)