1. 下载libpcap-1.1.1,三部曲安装。
2. 下载fprobe-1.1, 三部曲安装。
3. 启动fprobe报错, copy相应文件解决。
- [root@VMSHntop ~]# fprobe -i eth1 10.130.170.11:9996
- fprobe: error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory
- [root@VMSHntop ~]# find / -name libpcap.so.1
- /usr/local/lib/libpcap.so.1
- [root@VMSHntop ~]# cp /usr/local/lib/libpcap.so.1 /usr/lib/
- [root@VMSHntop ~]# fprobe -i eth1 10.130.170.11:9996
- [root@VMSHntop ~]# ps -aux |grep fprobe
- Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
- root 12106 6.8 1.2 48812 6508 ? Ssl 09:47 0:31 fprobe -i eth1 10.130.170.11:9996
- root 12124 0.0 0.1 3932 720 pts/0 S+ 09:54 0:00 grep fprobe
转载于:https://blog.51cto.com/18567/589067