Hello everyone,
I would like to implement the memcached protocol for Packetbeat and so to begin I try to compile packetbeat from the github sources. But when I run make, I have some errors and I can't find a solution around the web :
$make
# first make sure we have godep
go get github.com/tools/godep
/home/users/mydir/gocode/bin/godep go build
# github.com/tsg/gopacket/pcap
could not determine kind of name for C.PCAP_ERROR_IFACE_NOT_UP
could not determine kind of name for C.pcap_free_datalinks
could not determine kind of name for C.pcap_offline_filter
godep: go exit status 2
make: *** [packetbeat] Error 1
I understand that the error comes from pcap library, which is installed on my Suse Linux. But I don't know what to do from now and any help would be welcomed.
EDIT : problem solved. It was coming from a wrong version of libpcap.so