[asterisk-users] ODBC version for cdr?

Chris Stinson
Mon, 01 Oct 2007 17:52:54 -0000

I'm having an error when I try to ./configure asterisk using
--with-odbc=/usr/lib. Below is the version of each application and the
./configure below that. Any help would be appreciated.

unixODBC-2.2.11-7.1
unixODBC-devel-2.2.11-7.1
mysql-connector-odbc-3.51.12-2.2
mysql-5.0.22-2.1

Contents of odbcinst.ini

# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description     = ODBC for MySQL
Driver          = /usr/lib/libmyodbc.so
Setup           = /usr/lib/libodbcmyS.so
FileUsage       = 1

checking for SQLConnect in -lodbc... no
configure: ***
configure: *** The unixODBC installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** without explicitly specifying --with-odbc


--
-----

Chris Stinson
Network Operations Center
ISDN-Net, Inc.
615-221-4200 x103
noc at isdn.net