Thanks. Installing that got me past the previous error. Then I got the following error:
//usr/local/lib/libpfring.so: undefined reference to `numa_node_of_cpu'
//usr/local/lib/libpfring.so: undefined reference to `numa_bind'
//usr/local/lib/libpfring.so: undefined reference to `numa_parse_nodestring'
//usr/local/lib/libpfring.so: undefined reference to `numa_available'
collect2: error: ld returned 1 exit status
I had to install the libnuma package:
sudo apt-get install libnuma-dev
Still no luck. Then I had to change the following line in pfring.go
#cgo LDFLAGS: -lpfring -lpcap
to
#cgo LDFLAGS: -lpfring -lpcap -lnuma -lrt
Now everything looks good...