遇到库文件找不到或无法打开
如:
iwlist: error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file or directory
在/etc/profile文件里添加库文件路径
如:
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/bin:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
在分号后加入所需的文件路径就行