美文网首页
动态链接库

动态链接库

作者: 徐士林 | 来源:发表于2017-09-13 16:40 被阅读108次

iperf3: error while loading shared libraries: libiperf.so.0: cannot open shared object file: No such file or directory

解决办法
无非系统在路径中未找到想要的文件,把文件路径添加到系统能找得到的地方就可以
find / -name libiperf.so.0
找到的结果是/usr/local/libiperf.so.0

(2)将.so文件路径的目录添加到/etc/ld.so.conf

sudo vim /etc/ld.so.conf

文件末尾新添加一行,/usr/local/libiperf.so.0
使得修改生效
  sudo /sbin/ldconfig

相关文章

网友评论

      本文标题:动态链接库

      本文链接:https://www.haomeiwen.com/subject/kshlsxtx.html