Neither flex nor lex was found
编译./configure
libpcap时报错Neither flex nor lex was found
安装flex,bison就能解决
apt-get install flex
apt-get install bison
报错:libpcap.so.1: cannot open shared object file: No such file or directory
执行,添加一个链接
sudo ln -s /usr/local/lib/libpcap.so.1 /usr/lib/libpcap.so.1