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
On Mon, 2007-10-01 at 12:52 -0500, Chris Stinson wrote:> 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.The autoconf magic in Asterisk looks for a shared library provided by the libtool-ltdl package (at least under Red Hat, CentOS, and Fedora), and won't detect the ODBC libraries without it. (Yes, the build system *should* be a little more informative about this.) -- Jared Smith Community Relations Manager Digium, Inc.