Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS build assumes libgdal via Homebrew #73

Closed
metasim opened this issue Jan 2, 2020 · 1 comment · Fixed by #99
Closed

MacOS build assumes libgdal via Homebrew #73

metasim opened this issue Jan 2, 2020 · 1 comment · Fixed by #99
Labels
enhancement New feature or request

Comments

@metasim
Copy link

metasim commented Jan 2, 2020

Evidenced by looking at the dylib loading rules:

$ curl -o gdal-warp.zip https://repo1.maven.org/maven2/com/azavea/geotrellis/gdal-warp-bindings/33.567d940/gdal-warp-bindings-33.567d940.jar
$ unzip gdal-warp.zip
$ otool -L resources/libgdalwarp_bindings.dylib

resources/libgdalwarp_bindings.dylib:
	libgdalwarp_bindings.dylib (compatibility version 0.0.0, current version 0.0.0)
	@@HOMEBREW_PREFIX@@/opt/gdal/lib/libgdal.20.dylib (compatibility version 26.0.0, current version 26.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

Build build should be updated to rely on the standard system lookup rules. Not sure how or what is injecting the @@HOMEBREW_PREFIX@@ bit.

The common use case is that users will have gdal via a conda or pip install.

Add'l context: https://gitter.im/geotrellis/geotrellis?at=5dcdbf95ea7d147cb37d438c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants