Neither flex nor lex was found


Neither flex nor lex was found

编译./configurelibpcap时报错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

文章作者: 0xdadream
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 0xdadream !
评论
  目录