8 Known Issues
evilsocket edited this page 2018-09-29 12:54:55 +02:00

Error while loading shared libraries: libpcap.so.1

This error is due to bettercap being compiled on a GNU/Linux distribution with a different naming convention for the libpcap dynamic library, if you already have libpcap installed in your system, for instance:

/usr/lib/i386-linux-gnu/libpcap.so.0.8
/usr/lib/i386-linux-gnu/libpcap.so.1.8.1
/usr/lib/x86_64-linux-gnu/libpcap.so.0.8
/usr/lib/x86_64-linux-gnu/libpcap.so.1.8.1

all you have to do is creating a symlink to the version bettercap expects (or directly compile from source on your target system in order to link against the correct library):

$ sudo ln -s /usr/lib/x86_64-linux-gnu/libpcap.so.1.8.1 /usr/lib/libpcap.so.1

bash: /usr/local/bin/bettercap: No such file or directory

Chances are you're trying to use a precompiled version which is not compatible with your system, see this issue for more information. To fix, either compile bettercap from sources locally, or you can patch the binary directly to make it work on your system.

Execution of legacy version

If you experience an error with a traceback that contains one of the following lines, it means that you are trying to execute the legacy (ruby) version of bettercap which is no longer supported:

  • ../bin/ruby/..
  • ../lib/ruby/..
  • ../lib/gems/..

Open Bugs

Here you will find a list of currently known and still unfixed bugs.