[solved] XXX res_odbc. How activate? - RHEL 6 - 1.8.8.1

Update: one package seems to be missing from yum:
libtool-ltdl-devel

after downloading, “yum localinstall” may be used


RHEL 6 system, subscribed.

  1. cd /usr/src/asterisk-1.8.8.1

  2. make menuselect

  3. XXX res_odbc

  4. ??

Anyone know which packages it needs?

The ones which enable it on fedora arent working on rhel 6.

menuselect tells you the missing dependencies. Resolve them and then run ./configure and menuselect, again.

There appear to be two dependencies. If unixodbc is missing, you will need to add --with-odbc to the configure line, specifying the location of the unixODBC package files.

The Asterisk documentation says where to get further information on unixODBC.

ODBC resource
Depends on: generic_odbc(E), ltdl(E)
Support Level: core

yum install ltdl unixODBC*

Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
Package libtool-ltdl-2.2.6-15.5.el6.x86_64 already installed and latest version
Package unixODBC-2.2.14-11.el6.x86_64 already installed and latest version
Package unixODBC-devel-2.2.14-11.el6.x86_64 already installed and latest version
Nothing to do
[root@localhost asterisk-1.8.8.1]#

Yep, if only it listed the packages that it needs.

it says “ltdl” but that is already installed.

On a quick skim of configure, it looks like it needs to be told where to find unixodbc and won’t look for ltdl unless unixodbc is required.