How do I install the ODBC driver for Snowflake successfully on an M1 Apple Silicon Mac?
Tinkered with this a bit more and realized it's an artifact of the installation pathways for the .dmgs & the preset paths in simba.snowflake.ini
.
You need to point the Snowflake driver towards the iODBC dylib (as per a sideswiping statement in the docs) -- the driver is originally configured to look for the ODBC dylib (not iODBC) in a folder that's on the path.
When you install the iODBC driver, verify that it is installed to /usr/local/iODBC
(this was where my Silicon Mac installed it to) -- and that /usr/local/iODBC/lib
has libiodbc.dylib
in it. If so, navigate to your installed snowflake driver directory (should be /etc/snowflake
) and alter the simba.snowflake.ini
file (/etc/snowflake/snowflake/snowflakeodbc/universal/simba.snowflake.ini
). You want to uncomment & alter the last line to be both uncommented & point with a full path towards the iODBC dylib (instead of the default, which is the ODBC dylib).
# Darwin specific ODBCInstLib
# iODBC
ODBCInstLib=/usr/local/iODBC/lib/libiodbcinst.dylib
Make sure to comment out any other ODBCInstLib line so that only one is configured. That should enable you to get your connection to snowflake up and running on an M1 Mac.
Snowflake does not work on M1 Macbook Pro Can't open lib. Any solution or update?
Snowflake ODBC driver is not yet supported for M1 or ARM-based architecture.
There is a plan to add support for these, but there is no estimation yet as of now when it will be available.
Related Topics
Error in Bind_Rows_(X, .Id):Column Can't Be Converted from Factor to Numeric
Calculate Proportions Within Subsets of a Data Frame
Labelling the Plots with Images on Graph in Ggplot2
Fitting Logarithmic Curve in R
R Multiple Conditions in If Statement
Why Is R Dplyr::Mutate Inconsistent with Custom Functions
Adding Multiple Shadows/Rectangles to Ggplot2 Graph
Split Data.Frame into Groups by Column Name
Inline Function Code Doesn't Compile
How to Save a Data Frame in a Txt or Excel File Separated by Columns
How to Control Label Color Depending on Fill Darkness of Bars
Dplyr . and _No Visible Binding for Global Variable '.'_ Note in Package Check
Ggplot2: Cannot Color Area Between Intersecting Lines Using Geom_Ribbon
Find the Nearest X,Y Coordinate Using R