Few random hints to get this working!. It is useful to have the iODBC DataSource Administrator installed just to quickly check your configuration.
I installed the x86 version of the sqliteodbc
ODBC driver with
arch -x86_64 brew install sqliteodbc
and the ARM version of sqlite with
brew install sqlite
The ODBC config files can be found at and can be edited by hand but I found the Data Source Administrator 64 helpful to confirm that I had a valid setup.
/Library/ODBC/odbc.ini
and /Library/ODBC/odbcinst.ini
are the files that control the ODBC setup.
If going by the hand rolled route, you will need to check that the /Library/ODBC/odbcinst.ini
contains
[SQlite]
Driver = /usr/local/lib/libsqlite3odbc.dylib
Setup = /usr/local/lib/libsqlite3odbc.dylib
And the /Library/ODBC/odbc.ini
contains something like the following snippet (not sure this is completely necessary - and the DEVART_SQLITE is a hangover from the DevArt ODBC drivers which I tried out (which work but are not cheap and not necessary)
[ODBC Data Sources]
myodbc = MySQL ODBC 8.0 Unicode Driver
myodbca = MySQL ODBC 8.0 ANSI Driver
DEVART_SQLITE = Devart ODBC Driver for SQLite
[ODBC]
TraceLibrary =
[myodbc]
Driver = MySQL ODBC 8.0 Unicode Driver
SERVER = localhost
NO_SCHEMA = 1
[myodbca]
Driver = MySQL ODBC 8.0 ANSI Driver
SERVER = lqocalhost
NO_SCHEMA = 1
Its helpful to have a schema viewer to adjust and import data from an external source eg a spreadsheet into your database. I found db-browser for sqlite easy to use.
brew install --cask db-browser-for-sqlite
Hope that helps to get you going.
Here is my database and .kicad_dbl files if you want to play. You will need to add it to your library table as database connection.
Let me know if this works for you!
database.sqlite (136 KB)
qa_dblib.kicad_dbl (3.8 KB)