今天安裝iperf3.1.3用了源碼安裝:
./configure
make
make install
安裝好了之後,運行/usr/local/bin/iperf3 後提示Libiperf.so.0 --cannot open shared object file: No such file or directory
在網上找的解決方法:
1. 編輯動態庫配置文件vi /etc/ld.so.conf, 之後運行/sbin/ldconfig重新加載庫文件。
include /usr/local/lib
參考: https://www.cnblogs.com/youxin/p/5116243.html