dyld: Library not loaded: /usr/local/opt/unixodbc/lib/libodbc.2.dylib
Asked Answered
P

2

27

I am facing the following issue on Mac when I run rake ts:index for Thinking Sphinx indexing:

dyld: Library not loaded: /usr/local/opt/unixodbc/lib/libodbc.2.dylib

I am using mysql version 8.0.13 for osx10.13 on x86_64. How can I resolve this issue?

Pulverize answered 22/1, 2019 at 6:57 Comment(2)
What was the question?Higgler
@Higgler Question was, how can this issue be resolved? The solution is written in the answer.Pulverize
P
57

Insalling unixodbc on Mac resolved this for me.

brew install unixodbc
Pulverize answered 22/1, 2019 at 7:1 Comment(0)
M
14

In addition to

brew install unixodbc

you can also install the mssql drivers after this with the following brew instructions:

brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install msodbcsql mssql-tools

After this I was able to use "ODBC Driver 17 for SQL Server" in python.

Mashburn answered 2/6, 2020 at 15:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.