You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GDAL doesn't install on macOS, failing on the building part.
julia> Pkg.build("GDAL")
INFO: Building CodecZlib
INFO: Building Proj4
INFO: Building LibGEOS
INFO: Building GDAL
==================================================================================================[ ERROR: GDAL ]===================================================================================================
LoadError: BinaryProvider.LibraryProduct(nothing, String["libgdal"], :libgdal, "Prefix(/Users/epta/.julia/v0.6/GDAL/deps/usr)") is not satisfied, cannot generate deps.jl!
while loading /Users/epta/.julia/v0.6/GDAL/deps/build.jl, in expression starting on line 56====================================================================================================================================================================================================================
julia> Libdl.dlopen("libgdal")
ERROR: could not load library "libgdal"dlopen(libgdal.dylib, 1): Library not loaded:@rpath/libproj.12.dylib
Referenced from:/Users/epta/.julia/v0.6/GDAL/deps/usr/lib/libgdal.20.dylib
Reason: image not found
Stacktrace:
[1] dlopen(::String, ::UInt32) at ./libdl.jl:97 (repeats 2 times)
The text was updated successfully, but these errors were encountered:
Hmm I wonder why it's working on OSX Travis but not for you locally. In any case I'm updating the builders to run with the latest BinaryBuilder which might bring along some rpath related fixes. Hope that will help here.
GDAL doesn't install on macOS, failing on the building part.
The problem lies in the binary build, the
libgdal.dylib
cannot be loaded because its depencies cannot be found. The following lines prevent it for Linux, but not for macOS: https://github.com/JuliaGeo/GDAL.jl/blob/master/deps/build.jl#L46The text was updated successfully, but these errors were encountered: