MacOS Gatekeeper prevents codesigned applications from loading non-signed extensions- such as libodbc.dylib. The default contents of this file are as follows:ĭescription=Microsoft ODBC Driver 17 for SQL Serverĭriver=/usr/local/lib/libmsodbcsql.17.dylib
Then copy the file to your ~/Library/ODBC folder. You can locate the file using the terminal command: You can create this file yourself or copy the file from Homebrew's 'Cellar' folder. The ODBC driver is registered with the Unix ODBC Driver Manager using the odbcinst.ini file which we will place in
usr/local/share/msodbcsql17/resources/en_US/msodbcsql17.rll usr/local/lib/libodbcinst.dylib (libodbcinst.2.dylib) usr/local/lib/libodbc.dylib (libodbc.2.dylib)