我正在尝试在 Amazon linux Ami 服务器上安装 freeswitch.在制作过程中,我收到以下错误:


    /usr/bin/ld: ../../libs/libedit/src/.libs/libedit.a(term.o): undefined reference
    /usr/bin/ld: note: 'tgetnum' is defined in DSO /lib64/libtinfo.so.5 so try addin
    /lib64/libtinfo.so.5: could not read symbols: Invalid operation
    collect2: ld returned 1 exit status
    make[5]: *** [fs_cli] Error 1
    make[4]: *** [/usr/src/freeswitch/libs/esl/libesl.so] Error 2
    make[3]: *** [mod_hash-all] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

试图导出"ltinfo"库,我还将LDFLAGS设置为-ltinfo,但这太麻烦了。请帮助我解决这个问题。

我和你一样有同样的错误。您必须安装稳定版本。

git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git

,然后再次按照说明进行操作。

http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide

它会起作用。

相关内容

最新更新