解决找不到库文件error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such

  1. 在安装好mplayer,运行mplayer和mencoder时提示找不到库文件
    mplayer: error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such file or directory
    mencoder: error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such file or directory
    解决找不到库文件error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such
  2. 修改/etc/ld.so.conf,增加/usr/local/lib
    解决找不到库文件error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such
  3. 运行ldconfig命令
  4. 重新运行命令无报错了。
    解决找不到库文件error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such