-
Notifications
You must be signed in to change notification settings - Fork 25
Allow PCAP_LIBRARY to be overridden at compile time #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is useful for specifying the soname of libpcap as systems without development libraries installed may not have libpcap.so installed. Fixes: L-Acoustics#192
|
|
2 things:
|
Potentially the same issue could occur on macOS I think (libpcap isn't shipped as part of Darwin though, is it?) |
It is shipped, and you actually have to use it, because of increasingly tight hardening on binaries that run on macOS, otherwise you get errors almost impossible to understand. That's the comment in the code for macOS. |
|
Are you sure it's shipped on Darwin? I just setup a new 15.6 machine yesterday and I can't find it in Also WireShark, PTP TrackHound, etc usually install their own version. |
|
I'm sure of nothing, but I never installed it :) |
You're right, I was fooled as it is in the |
|
I will make the changes, namely add the compilation option (CMakeLists.txt, src/CMakeLists.txt) and a small explanation in README.md in the linux compilation section, and change the logic to override the value in the linux specific initialization of the .so |
|
Thank you, sorry, I've been swamped in other bugs. |
|
Ok, implemented |



This is useful for specifying the soname of libpcap as systems without development libraries installed may not have libpcap.so installed.
Fixes: #192
(Note: not tested yet.)