问题:error while loading shared libraries:
libiw.so.29: cannot open shared object file: No such file or directory
libiw.so.29: cannot open shared object file: No such file or directory
解决:这个错误是没有导入动态库。只需导入LD_LIBRARY_PATH就行了。
比如export LD_LIBRARY_PATH=/usr/local/rw:$LD_LIBRARY_PATH(其中路径是动态库的路径)
假如不想重启后重新输入,可以编辑~/.bash_profile文件,在最后添加上面那句
然后运行source ~/.bash_profile 就行了。