概述
1,安装依赖等
yum install -y http://files.freeswitch.org/freeswitch-release-1-8.noarch.rpm epel-release
yum install -y git alsa-lib-devel autoconf automake bison broadvoice-devel bzip2 curl-devel libdb4-devel e2fsprogs-devel erlang flite-devel g722_1-devel gcc-c++ gdbm-devel gnutls-devel ilbc2-devel ldns-devel libcodec2-devel libcurl-devel libedit-devel libidn-devel libjpeg-devel libmemcached-devel libogg-devel libsilk-devel libsndfile-devel libtheora-devel libtiff-devel libtool libuuid-devel libvorbis-devel libxml2-devel lua-devel lzo-devel mongo-c-driver-devel ncurses-devel net-snmp-devel openssl-devel opus-devel pcre-devel perl perl-ExtUtils-Embed pkgconfig portaudio-devel postgresql-devel python-devel python-devel soundtouch-devel speex-devel sqlite-devel unbound-devel unixODBC-devel wget which yasm zlib-devel libshout-devel libmpg123-devel lame-devel
wget http://files.freeswitch.org/releases/freeswitch/freeswitch-1.8.5.tar.gz
tar -vzxf freeswitch-1.8.5.tar.gz
cd freeswitch-1.8.5
echo $PWD
./configure -C --enable-portable-binary
--prefix=/usr/local/freeswitch
--with-gnu-ld --with-python --with-erlang --with-openssl
--enable-core-odbc-support --enable-zrtp
--enable-core-pgsql-support
--enable-static-v8 --disable-parallel-build-v8
make
make -j install
make -j cd-sounds-install
make -j cd-moh-install
ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin/
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin/
2,后来发现缺少libks
提醒的一点是你有可能遇到mod_signalwire 果断注释掉。
make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/applications/mod_signalwire'
Makefile:916: *** You must install libks to build mod_signalwire. Stop.
make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod/applications/mod_signalwire'
make[3]: *** [mod_signalwire-all] Error 1
wget https://cmake.org/files/v3.13/cmake-3.13.3.tar.gz
tar -zxvf cmake-3.13.3.tar.gz
cd cmake-3.13.3
./bootstrap
gmake
make install
cd ../
git clone https://github.com/signalwire/libks.git
cd libks
cmake .
make
make install
3, yum install -y libatomic
/usr/bin/ld: cannot find /usr/lib64/libatomic.so.1.0.0
collect2: error: ld returned 1 exit status
参考文献:
https://www.cnblogs.com/Lewis302/p/10466936.html
最后
以上就是陶醉飞机为你收集整理的freeswitch 1.8.5 安装的全部内容,希望文章能够帮你解决freeswitch 1.8.5 安装所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复