CENTOS 6.5安装FREESWITCH 1.5小记

本文详细记录了解决使用Freeswitch在CentOS6.5上安装过程中遇到的sqlite、libcurl、libpcre等依赖库缺失的问题,并最终成功安装Freeswitch的过程。文中还提到了如何通过yum命令解决依赖问题,以及如何配置环境变量PKG_CONFIG_PATH以避免遇到类似问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转载自:http://shelu.net/install-freeswitch-1-5-on-centos-6-5/


Windows下的Freeswitch没有VP8编码,源码里头也没有相应的工程,于是最后决定还是搞台单独的linux服务器。

系统CentOS 6.5 64位,运维的同事装的,应该是个标准版,没有装那些开发包。

Freeswitch的安装过程参考官网wiki,下载的就是git里头最新的版本。

安装过程中遇到一个sqlite的错误。

checking for sqlite3 >= 3.6.20… Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing `sqlite3.pc’ to the PKG_CONFIG_PATH environment variable No package ‘sqlite3′ found 
configure: error: Library requirements (sqlite3 >= 3.6.20) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

试了一下:[root@localhost freeswitch]# sqlite3 
SQLite version 3.6.20 
Enter “.help” for instructions

想想应该是少开发包了:[root@localhost freeswitch]# yum install sqlite-devel

后边碰到缺libcurl也照样解决

[root@localhost freeswitch]# yum install libcurl-devel 

后面又缺了libpcre:

[root@localhost freeswitch]# yum install pcre 
[root@localhost freeswitch]# yum install pcre-devel

speex :

[root@localhost freeswitch]# yum install speex 
[root@localhost freeswitch]# yum install speex-devel

最后报了一个mod_xml_rpc.c的错,说参数个数不符,这个就有点麻烦了,也不知道是哪里不匹配,看看这模块似乎也暂时用不上,直接注释掉就可以了。

服务器有公网IP,而且只有一块网卡,所以直接启动就可以了。记得在防火墙里头打开端口,或者直接关掉防火墙(不建议)。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值