Prerequisites section in the issue.Running the AMD64 release binary results in an error:
bettercap: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory
Fedora 27, 64bit
bettercap -debug
bettercap: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory
Expected behavior: What you expected to happen
libpcap is installed:
/usr/lib64/libpcap.so.1
/usr/lib64/libpcap.so.1.8.1
Actual behavior: What actually happened
♥ ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY ♥
Can you try to symlink it from your version?
For other people having this issue, here's specifically what I did to solve it:
$ locate libpcap
/usr/lib64/libpcap.so <-- was one among many results for me
$ cd /usr/lib64/ # go to that directory
$ sudo ln -s libpcap.so libpcap.so.0.8 # create a symlink to libpcap.so.0.8 from libpcap.so (or whatever you actually have instead)
$ cd - # go back to your bettercap directory
@asjadsyed I ran into this same issue when trying to use https://github.com/jclehner/nmrpflash
Your solution worked for me too, thanks.
Most helpful comment
For other people having this issue, here's specifically what I did to solve it: