I am working on Fedora 17 and I want to program using libpcap. The problem is that my computer does not find pcap.h, which is really wierd, since I installed libpcap and libpcap-devel. Also at my station are wirehark and snort, which I believe use this library. Therefore, when I compile my code with ...
#include <pcap.h> ... Code
And use gcc my_file.c -lpcap, I get compiler errors that say ... I can not find pcap.h. What is strange is that I see the libpcap.so files in the / libraries / directory. I did..
yum install libpcap as well as yum install libpcap-devel
I do not know why Fedora does this to me.
Thanks for any help!
source share