Technology Errors

Error: /usr/bin/ld: warning: i386 architecture of input file

I received the below error when attempting to run a setup.py script to finish installing a certain application. The application was being installed on a 64-bit CentOS Linux system and during the initial part of the install I had attempted to use 32-bit python which ended up causing a bunch of errors. After I believed that all of the errors were corrected I still received an i386 error message. Since I am not very familiar with Python setup scripts it took me a couple minutes to figure out what needed to be done.

Technology Errors

Error Building Pyrit On CentOS: cpyrit/_cpyrit_cpu.c:26:18: error: pcap.h: No such file or directory

When building pyrit, which is an application that uses GPU power to run dictionary attacks against WPA handshake captures, on CentOS Linux I ran into an error. The error was related to the pcap.h library which was not found by the pyrit setup.py python script. Resolving the problem is easy by simply installing the libpcap-devel RPM package using the yum package manager. Below I display more output surrounding the error, the log showing the libpcap-devel package installation, and finally the successful build of pyrit on CentOS Linux.