本文介绍了如何加载 res_odbc.so的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想加载 res_odbc.so 但在/etc/lib/asterisk/modules 中没有 res_odbc.so我明白了,我应该在安装星号时选择 res_odbc但不能选择它

I want to load res_odbc.so but not have res_odbc.so in /etc/lib/asterisk/modulesI understand, I should select res_odbc when install asteriskbut can not select it

制作菜单选择[XXX] res_odbc

make menuselect[XXX] res_odbc

为什么我不能选择它我安装了 Asterisk 1.8, CentOS我已经安装了 ODBC.

Why I can't select itI installed Asterisk 1.8, CentOSI already installed ODBC.

我该怎么办?请帮帮我.

What should I do? Help me please.

T_T

推荐答案

请确保您也安装了相关的开发包.

Make sure that you have the related devel packages installed, as well.

# yum install unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel

完成后,请务必重新运行 Asterisk 配置脚本.然后检查 menuselect 和 res_odbc 应该可用.

Once you have done that, be sure to re-run the Asterisk configure script. Then check menuselect and res_odbc should be available.

# ./configure
# make menuselect

Asterisk:权威指南"的关系数据库集成一章" 更详细地介绍了这个主题.

The Relational Database Integration chapter of "Asterisk: The Definitive Guide" covers this topic in more detail.

这篇关于如何加载 res_odbc.so的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 05:29