• 错误
-ERR [module load file routine returned an error]

2020-06-24 20:36:59.576687 [CRIT] switch_loadable_module.c:1785 Error Loading module
 /usr/local/freeswitch/mod/mod_av.so
**libavformat.so.57: cannot open shared object file: No such file or directory**
  • 查找一下库在哪里
[quantum6@freeswitch ~]$ whereis libavformat.so
libavformat: /usr/local/lib/libavformat.so /usr/local/lib/libavformat.a
  • 解决
echo "/usr/local/lib" >> /etc/ld.so.conf

ldconfig