Trying to configure MariaDBodbc connector on Ubuntu 18.04 on Raspberry Pi
Hi, I have both tried to generate the connector from the source code and installed the 3.1.7 package. My /etc/odbcinit.ini is
[MariaDB] Description = MariaDB Connector/ODBC v.3.0 Driver = /usr/lib/libmaodbc.so UsageCount=1 [asterisk] Description = MySQL connection to 'asterisk' Driver = MariaDB Database = asterisk Server = localhost Port = 3306 Socket = /var/run/mysqld/mysqld.sock
My /etc/odbc.ini is
[asterisk] Description = MySQL connection to 'asterisk' Driver = MariaDB Database = asterisk Server = localhost Port = 3306 Socket = /var/run/mysqld/mysqld.sock
sudo strace -t -o trace.txt isql -v asterisk ubuntu Brigitte99 [01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/libmaodbc.so' : file not found [ISQL]ERROR: Could not SQLConnect
but
ls -l /usr/lib/libmaodbc.so gives -rwxr-xr-x 1 root root 2295400 juil. 9 15:11 /usr/lib/libmaodbc.so
Any ideas?
Pete
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.