I've been trying to install gdal on my Mac, but have been getting errors when running ogr2ogr like so:
dyld: Library not loaded: libcurl.4.dylib
Referenced from: /usr/local/bin/ogr2ogr
Reason: Incompatible library version: ogr2ogr requires version 8.0.0 or later,
but libcurl.4.dylib provides version 7.0.0
Trace/BPT trap: 5
Not being able to find a solution, I had a hunch that Anaconda was part of the problem, since I was getting this:
->which curl
~/anaconda/bin/curl
so, to fix the problem I removed the curl package by running:
conda remove curl
and doing this along with removing the libxml library, I was all set and ogr2ogr was working.
My question is whether or not there was a better way around this than simply removing the packages. I'm afraid my knowledge of how these dynamic libraries work and how they integrate is lacking, and would appreciate some help.
Thanks!