0
➜  ishan git:(master) ✗ ogr2ogr -f GPKG ./testgpkg.gpkg combining_elevation_coastline_data.csv -oo X_POSSIBLE_NAMES=x -oo Y_POSSIBLE_NAMES=y -a_srs 'EPSG:4326'
dyld: Library not loaded: @rpath/libpoppler.91.dylib
  Referenced from: /Users/ishansrivastava/miniconda/lib/libgdal.26.dylib
  Reason: image not found
[1]    94711 abort      ogr2ogr -f GPKG ./testgpkg.gpkg combining_elevation_coastline_data.csv -oo   

I am trying to convert a csv file into a geopackage file

things i tried:

1.

brew update
brew upgrade
brew cleanup

reinstalled xcode command line tools

3. https://stackoverflow.com/a/50261326/7806805

4. https://stackoverflow.com/a/17704255/7806805

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: exefile (No such file or directory)

https://stackoverflow.com/a/62011143/7806805

Ishan Srivastava
  • 1,129
  • 1
  • 11
  • 29

1 Answers1

1

what finally worked:

conda update -c rdonnellyr -c main --all
Ishan Srivastava
  • 1,129
  • 1
  • 11
  • 29
  • this answer was flagged for low quality, please better the answer with more supporting info and an explanation – Noam Yizraeli Sep 24 '21 at 09:09
  • @NoamYizraeli I think it is enough and it really works. – amo Nov 19 '21 at 11:58
  • 1
    @amo the reason it was voted for low quality wasn't its correctness but its ability to inform future readers and help them make an educated decision on using this solution, would it help them or ruin something, explain the solution so it wouldn't be magic, Voodoo or "it just works" and explain the reasoning and use cases for it. – Noam Yizraeli Nov 19 '21 at 12:20