1. 下载libpcap-1.1.1,三部曲安装。

2. 下载fprobe-1.1, 三部曲安装。

3. 启动fprobe报错, copy相应文件解决。

 

 
  
  1. [root@VMSHntop ~]# fprobe -i eth1 10.130.170.11:9996 
  2. fprobe: error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory 
  3. [root@VMSHntop ~]# find / -name libpcap.so.1 
  4. /usr/local/lib/libpcap.so.1 
  5. [root@VMSHntop ~]# cp /usr/local/lib/libpcap.so.1 /usr/lib/ 
  6. [root@VMSHntop ~]# fprobe -i eth1 10.130.170.11:9996 
  7. [root@VMSHntop ~]# ps -aux |grep fprobe 
  8. Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ 
  9. root     12106  6.8  1.2  48812  6508 ?        Ssl  09:47   0:31 fprobe -i eth1 10.130.170.11:9996 
  10. root     12124  0.0  0.1   3932   720 pts/0    S+   09:54   0:00 grep fprobe