Skip to content

Instantly share code, notes, and snippets.

@ateucher
Created November 17, 2016 22:25
Show Gist options
  • Save ateucher/73b466d6978d670d7217b5127b0a2279 to your computer and use it in GitHub Desktop.
Save ateucher/73b466d6978d670d7217b5127b0a2279 to your computer and use it in GitHub Desktop.
brew unlink gdal
brew tap osgeo/osgeo4mac && brew tap --repair
brew install gdal2 --with-armadillo \
--with-complete --with-libkml --with-unsupported
brew link --force gdal2
# Verify
gdal-config --version
# 2.1.1
gdal-config --libs
# -L/usr/local/Cellar/gdal2/2.1.1/lib -lgdal
gdal-config --cflags
# -I/usr/local/Cellar/gdal2/2.1.1/include
## Then reinstall rgdal
@ateucher
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment