Description
Attempting to use pypcap under python 2.7 installing via pip.
None of the following found: ['libpcap.a', 'libpcap.so', 'libpcap.dylib', 'wpcap.lib']
Appears to be related to the changes introduced in Big Sur that means the .dylib files no longer exist, they are all part of the new dynamic cache.
For example, here is the homebrew project having the same: Homebrew/brew#7803
Another: openframeworks/openFrameworks#6599 (comment)
More: https://mjtsai.com/blog/2020/06/26/reverse-engineering-macos-11-0/
The Apple release note having the info: https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes
Understandably being as Apple are moving things and changing the norms, lots of this kind of thing are going to break.
Looking for a workaround if possible or a fix that implements the dlopen() alternative - whatever that means!
New in macOS Big Sur 11.0.1, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)