On 12/10/2019 11.06, Doug Lytle wrote: > On 10/11/19 10:12 PM, Fourhundred Thecat wrote: >> Hello, >> >> I am trying to set up cdr logging into MariaDB through ODBC. >> >> I have installed unixodbc unixodbc-dev and now I am struggling with >> configuring /etc/odbcinst.ini >> >> All the examples online use non-existent libraries, ie: > > > On my Debian Buster I have: > > dpkg -l|grep odbc > > ii libmyodbc:amd64 5.1.10-3 amd64 the MySQL ODBC > driver > ii libodbc1:amd64 2.3.6-0.1 amd64 ODBC library > for Unix > ii odbcinst 2.3.6-0.1 amd64 Helper program > for accessing odbc ini files > ii odbcinst1debian2:amd64 2.3.6-0.1 amd64 Support library > for accessing odbc ini files > ii unixodbc 2.3.6-0.1 amd64 Basic ODBC tools > ii unixodbc-dev:amd64 2.3.6-0.1 amd64 ODBC libraries > for UNIX (development files) > > cat /etc/odbcinst.ini > > [MySQL] > Description = ODBC for MySQL > Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so > Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so > FileUsage = 1
thank you. My system is also Debian Buster. I have same packages installed, except libmyodbc There is no such package in the repositories: apt-cache search libmyodbc and thus, I have no file /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so did you compile libmyodbc yourself ? -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
