Skip to content

Not finding libgdal-35.dll on windows #1479

@boriskaus

Description

@boriskaus

I have an issue with my CI which fails on windows due to the following GMT.jl precompilation error:

Failed to precompile GMT [5752ebe1-31b9-557e-87aa-f909b540aa54] to "C:\\Users\\runneradmin\\.julia\\compiled\\v1.12\\GMT\\jl_78A2.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\runneradmin\.julia\artifacts\9db36ce542776801f81c6432d08864ea4abfc279\bin\libgdal-35.dll"
The specified module could not be found. 
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:120
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:119
  [3] top-level scope
    @ C:\Users\runneradmin\.julia\packages\GDAL_jll\EQFRa\src\wrappers\x86_64-w64-mingw32-cxx11.jl:78
  [4] macro expansion

Works fine on Linux/Mac.
Does it look familiar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions