在Amazon Linux服务器上安装Asterisk 1.8的依赖性问题

我试图在Amazon Linux Server上安装Asterisk 1.8(2015.09)。

sudo yum install asterisk 

这会导致以下错误:

 Error: Package: libresample-0.1.3-12.el6.x86_64 (epel) Requires: libsndfile.so.1(libsndfile.so.1.0)(64bit) Error: Package: asterisk-1.8.32.3-1.el6.x86_64 (epel) Requires: libgsm.so.1()(64bit) Error: Package: libresample-0.1.3-12.el6.x86_64 (epel) Requires: libsndfile.so.1()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 

我试过了rpm -Va --nofiles --nodigest ,然后再次尝试,但是没有解决。

所以看来我需要libsndfile.so.1libgsm.so.1

如何安装或修复此问题,以及如何安装Asterisk?

您需要安装包含缺失库的rpm包。 问题是这些软件包不在您使用的软件仓库中。

您可以使用rpmfind来查找哪些软件包为您的库提供了哪些软件包,以及在哪些软件库中可以find它们。