Skip to content

Instantly share code, notes, and snippets.

@myst3k
Last active September 3, 2025 16:12
Show Gist options
  • Select an option

  • Save myst3k/568faf60415aa15ef2fed1d1c282b0d0 to your computer and use it in GitHub Desktop.

Select an option

Save myst3k/568faf60415aa15ef2fed1d1c282b0d0 to your computer and use it in GitHub Desktop.
mysql-connector-odbc 9.3.0 compile/build odbc2parque unixodbc M4 Pro Max macOS Sequoia 15.5
NOTHING RELATED TO libiodbc / iODBC is needed
brew install gcc unixodbc [email protected]
get to /opt/local/src/mysql-connector-odbc-9.3.0-src/_build
cd /opt/local/src/mysql-connector-odbc-9.3.0-src/
mkdir _build && cd _build
cmake \
-DCMAKE_CXX_COMPILER=/opt/homebrew/bin/g++-15 \
-DCMAKE_C_COMPILER=/opt/homebrew/bin/gcc-15 \
-DWITH_UNIXODBC=1 \
-DMYSQL_DIR="/opt/homebrew/opt/[email protected]/" \
..
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment