Forum Thread: Unable to Install Snoopy-Ng on Kali Linux 2.0

i get the error message error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

i dont know what to do ive been to multiple websites which all tell me to install libpcap and when i try and install that it just gives me that exact same error message

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

1 Response

Most of the time these are dependency-issues. You need to install a package called python-dev. This package includes header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python in applications. When encountering this error please note before the error it may say you are missing a package or header file — you should find those and install them and verify if it works

For Python 2.x use:

$ sudo apt-get install python-dev

If you using python 3, try to replace python-dev with python3-dev

For a specific version of Python 3, replace x with the minor version in

$ sudo apt-get install python3.x-dev

Share Your Thoughts

  • Hot
  • Active