Summary: | ASTERISK-12602: Configure does not find the tds libraries | ||
Reporter: | Private Name (falves11) | Labels: | |
Date Opened: | 2008-08-16 22:42:44 | Date Closed: | 2011-06-07 14:02:58 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_tds |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) config.log ( 1) configtrunk.log | |
Description: | My config.log shws that tds is not there, but it is there and working fine. I did follow the suggestion of a wise man who said this: "You need to run 'make install' in the FreeTDS source directory, run 'ldconfig' as root, and then re-run ./configure within the asterisk source directory." But strange enough still config.log shows no trace of freetds, while it compiles cdr_odbc which works on top of freetds. My config.log shows this configure:28397: checking for tds_version in -ltds configure:28432: gcc -o conftest -g -O2 conftest.c -ltds >&5 /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -ltds collect2: ld returned 1 exit status While this might not be an Asterisk bug per se, what can I do to force config to consider freetds installed? | ||
Comments: | By: Private Name (falves11) 2008-08-17 07:22:17 It is definitely an Asterisk bug, because the Trunk version does find the fdreetds libraries, where the 1.4 version does not, in the same machine. I know that the trunk works because in make menuselect, cdr_tds is enabled. I am uploading the Trunk confog.log so you can see what is happenning. By: Sean Bright (seanbright) 2008-08-17 07:34:04 It is definitely not an Asterisk bug because the Trunk version uses libsybdb, where the 1.4 version uses libtds. The are completely different modules. I am guessing that you have installed FreeTDS 0.82 which is not compatible with Asterisk 1.4 (because it does not install libtds). If you want cdr_tds to work properly, you need to install version 0.64 of FreeTDS, available here: ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/old/0.64/freetds-0.64.tar.gz |