在安裝libpcap-1.8.1.tar時,
執行
[[email protected] libpcap-1.8.1]#./configure
出現錯誤:
configure: error: Neither flex nor lex was found.
解決方法:
[[email protected] libpcap-1.8.1]# yum install flex bison
錯誤消失,
然後重新執行configure,make ,make install .安裝完成
隻有先安裝好libpcap後,TCPdump安裝才沒有問題