[gdal-dev] armadillo error with homebrew install of ogr2ogr

John Muccigrosso muccigrosso at icloud.com
Tue Nov 10 12:09:56 PST 2020


> On 10 Nov 2020, at 14:47 , Marsh, Chris <chris.marsh at usask.ca> wrote:
> 
> I just checked on my machine and I have Armadillo 10.1.0 and GDAL 3.1.3 from homebrew core  and running `ogr2ogr` returns the help page correctly.
> 
> Looking at the formula, and I don't even see a dependency on Armadillo for GDAL
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/gdal.rb
> 
> Are you using the osgeo4mac tap? If so, then it's a problem with their build script as per this issue
> https://github.com/OSGeo/homebrew-osgeo4mac/issues/1399
> 
> core has the up to date gdal and proj now, so I'm no longer sure of the benefit of using osgeo4mac; current suggested work around is to actually use the core gdal to avoid this problem
> https://github.com/OSGeo/homebrew-osgeo4mac/issues/1399#issuecomment-722482161
> 
> I would remove anything installed from the osgeo4mac tap, remove the tap, install gdal core and see. 
> Alternatively you are up and running with the symlink so I hope the above gives you an explanation as to the problem

Chris,

Yes, I am using the osgeo4mac tap and that issue offers the symlink workaround that I used (though I hadn't seen it). I've now removed the osgeo tap and installed gdal from core and ogr2ogr is working for me.

Thanks for the help.

John



More information about the gdal-dev mailing list