microsoft / homebrew-mssql-release

Other
92 stars 31 forks source link

Error trying to run homebrew-mssql formula in mac OS Big Sur (M1) #67

Closed raimundoloeser closed 2 years ago

raimundoloeser commented 2 years ago

Hi, I read that ODBC Driver for SQL Server was ready for mac with M1 and I'm trying to install it but I have not succeeded. I'm following this guide: https://github.com/microsoft/msphpsql/blob/master/Linux-mac-install.md#installing-the-drivers-on-macos

When I run the code indicated in the documentation of the Driver:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 ms sql-tools

(https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15)

I get the following error:

Captura de Pantalla 2022-01-14 a la(s) 12 13 33

Any help on this is highly appreciated.

raimundoloeser commented 2 years ago

I solved it with:

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

v-chojas commented 2 years ago

Was mssql-preview mentioned anywhere in the docs? That's not the right one for installing this ODBC driver.

raimundoloeser commented 2 years ago

Nono, I tried another guides that makes me have that error

v-chojas commented 2 years ago

OK. If you find anything in the Microsoft docs that is giving wrong instructions, you are welcome to tell us and we can fix it.