[asterisk-users] ODBC version for cdr?
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 [EMAIL PROTECTED] ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ODBC version for cdr?
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. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ODBC version for cdr?
The libtool-ltdl package is installed. On 10/1/07, Jared Smith [EMAIL PROTECTED] wrote: 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. -- - Chris Stinson Network Operations Center ISDN-Net, Inc. 615-221-4200 x103 [EMAIL PROTECTED] ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ODBC version for cdr?
I believe libtool-ltdl-devel is what you need. On Mon, 2007-10-01 at 13:22 -0500, Chris Stinson wrote: The libtool-ltdl package is installed. On 10/1/07, Jared Smith [EMAIL PROTECTED] wrote: 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. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ODBC version for cdr?
If this is on a RedHat-type system (EL, Fedora, but also CentOS), make sure you have a symlink in place for libltdl.so. Even though I also had the libtool-ltdl package installed, it only provided libs and links for /usr/lib/libltdl.so..3.1.4 and libltdl.so.3. It did not create a symlink to a plain-jane libltdl.so library, which is what was needed here to successfully ./configure. On 10/1/07, Chris Stinson [EMAIL PROTECTED] wrote: The libtool-ltdl package is installed. ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] ODBC version for cdr?
I didn't have libtool-ltdl-devel. Once I install the devel package, it finished the configuration. Thanks James, Jared and Kai-Uwe for the responses. On 10/1/07, Kai-Uwe Jensen [EMAIL PROTECTED] wrote: If this is on a RedHat-type system (EL, Fedora, but also CentOS), make sure you have a symlink in place for libltdl.so. Even though I also had the libtool-ltdl package installed, it only provided libs and links for /usr/lib/libltdl.so..3.1.4 and libltdl.so.3. It did not create a symlink to a plain-jane libltdl.so library, which is what was needed here to successfully ./configure. On 10/1/07, Chris Stinson [EMAIL PROTECTED] wrote: The libtool-ltdl package is installed. -- - Chris Stinson Network Operations Center ISDN-Net, Inc. 615-221-4200 x103 [EMAIL PROTECTED] ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users