Iβm updating to Julia 1.10.4. Most of the packages precompiled fine, but GMT is refusing to precompile. When I use VScode, I get the following error:
ERROR: LoadError: InitError: could not load library "C:\Users\johns\.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:117
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:116
[3] macro expansion
@ C:\Users\johns\.julia\packages\JLLWrappers\pG9bm\src\products\library_generators.jl:63 [inlined]
[4] __init__()
@ GDAL_jll C:\Users\johns\.julia\packages\GDAL_jll\EQFRa\src\wrappers\x86_64-w64-mingw32-cxx11.jl:78
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1134
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1122
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base .\loading.jl:1067
[8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base .\loading.jl:1581
[9] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1938
[10] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[11] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
...
[26] top-level scope
@ stdin:3
in expression starting at C:\Users\johns\.julia\packages\GMT\bf7CV\src\GMT.jl:1
in expression starting at stdin:3
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
Failed to precompile GMT [5752ebe1-31b9-557e-87aa-f909b540aa54] to "C:\\Users\\johns\\.julia\\compiled\\v1.10\\GMT\\jl_36AD.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base .\loading.jl:2468
[3] compilecache
@ .\loading.jl:2340 [inlined]
[4] (::Base.var"#968#969"{Base.PkgId})()
@ Base .\loading.jl:1974
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\johns\AppData\Local\Programs\julia-1.10.4\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
[6] #mkpidlock#6
@ C:\Users\johns\AppData\Local\Programs\julia-1.10.4\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\johns\AppData\Local\Programs\julia-1.10.4\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
[8] #invokelatest#2
@ .\essentials.jl:894 [inlined]
[9] invokelatest
@ .\essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:2983
[11] maybe_cachefile_lock
@ .\loading.jl:2980 [inlined]
...
@ VSCodeServer.JSONRPC c:\Users\johns\.vscode\extensions\julialang.language-julia-1.83.2\scripts\packages\JSONRPC\src\typed.jl:67
[31] serve_notebook(pipename::String, outputchannel_logger::Base.CoreLogging.SimpleLogger; crashreporting_pipename::String)
@ VSCodeServer c:\Users\johns\.vscode\extensions\julialang.language-julia-1.83.2\scripts\packages\VSCodeServer\src\serve_notebook.jl:139
[32] top-level scope
@ c:\Users\johns\.vscode\extensions\julialang.language-julia-1.83.2\scripts\notebook\notebook.jl:35
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
I tried adding and building in the REPL, as well as uninstalling and reinstalling in the package builder.
When I re-added and built, I got the following:
Resolving package versions...
Updating `C:\Users\johns\.julia\environments\v1.10\Project.toml`
[5752ebe1] + GMT v1.15.0
Updating `C:\Users\johns\.julia\environments\v1.10\Manifest.toml`
[5752ebe1] + GMT v1.15.0
[3da0fdf6] + MPIPreferences v0.1.11
[8ce61222] + Arrow_jll v10.0.0+1
[0b7ba130] + Blosc_jll v1.21.5+0
[a7073274] + GDAL_jll v301.901.100+0
[d604d12d] + GEOS_jll v3.12.2+0
[b68b8c3f] + GMT_jll v6.5.2+0
[61579ee1] + Ghostscript_jll v9.55.0+4
[59f7168a] + Giflib_jll v5.2.1+0
[0951126a] + GnuTLS_jll v3.8.4+0
[0234f1f7] + HDF5_jll v1.14.3+3
[e33a78d0] + Hwloc_jll v2.11.0+0
β
[a51ab1cf] + ICU_jll v69.1.0+0
[b39eb1a6] + Kerberos_krb5_jll v1.19.3+0
[08be9ffa] + LibPQ_jll v16.0.0+0
[d3a379c0] + LittleCMS_jll v2.16.0+0
[5ced341a] + Lz4_jll v1.9.4+0
[7cb0a576] + MPICH_jll v4.2.1+1
[f1f71cc9] + MPItrampoline_jll v5.4.0+0
[9237b28f] + MicrosoftMPI_jll v10.1.4+2
[7243133f] + NetCDF_jll v400.902.211+1
β
[4c82536e] + Nettle_jll v3.7.2+0
β
[656ef2d0] + OpenBLAS32_jll v0.3.24+0
[643b3616] + OpenJpeg_jll v2.5.2+0
β
[fe0851c0] + OpenMPI_jll v4.1.6+0
[c2071276] + P11Kit_jll v0.24.1+0
[2f80f16e] + PCRE_jll v8.45.0+0
[58948b4f] + PROJ_jll v901.300.0+1
β
[784f63db] + Qhull_jll v8.0.1003+0
[76ed43ae] + SQLite_jll v3.45.3+0
β
[e0b8ae26] + Thrift_jll v0.16.0+0
β
[28df3c45] + boost_jll v1.76.0+1
[477f73a3] + libaec_jll v1.1.2+0
[06c338fa] + libgeotiff_jll v100.701.300+0
[c5f90fcd] + libwebp_jll v1.4.0+0
[337d8026] + libzip_jll v1.10.1+0
β
[fe1e1685] + snappy_jll v1.1.10+0
[781609d7] + GMP_jll v6.2.1+6
Info Packages marked with β
have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Then, when I tried to precompile, I got
Precompiling project...
β GMT_jll
β GMT
β GMT β GMTDataFramesExt
0 dependencies successfully precompiled in 9 seconds. 588 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
GMT [5752ebe1-31b9-557e-87aa-f909b540aa54]
Failed to precompile GMT [5752ebe1-31b9-557e-87aa-f909b540aa54] to "C:\\Users\\johns\\.julia\\compiled\\v1.10\\GMT\\jl_8FC8.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\johns\.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:117
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl .\libdl.jl:116
[3] macro expansion
@ C:\Users\johns\.julia\packages\JLLWrappers\pG9bm\src\products\library_generators.jl:63 [inlined]
[4] __init__()
@ GDAL_jll C:\Users\johns\.julia\packages\GDAL_jll\EQFRa\src\wrappers\x86_64-w64-mingw32-cxx11.jl:78
[5] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1134
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1122
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base .\loading.jl:1067
[8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base .\loading.jl:1581
[9] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1938
[10] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[11] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[12] invoke_in_world
@ .\essentials.jl:923 [inlined]
[13] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1803
[14] macro expansion
@ .\loading.jl:1790 [inlined]
[15] macro expansion
@ .\lock.jl:267 [inlined]
[16] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[17] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[18] invoke_in_world
@ .\essentials.jl:923 [inlined]
[19] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1746
[20] include(mod::Module, _path::String)
@ Base .\Base.jl:495
[21] top-level scope
@ C:\Users\johns\.julia\packages\JLLWrappers\pG9bm\src\toplevel_generators.jl:192
[22] include
@ .\Base.jl:495 [inlined]
[23] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base .\loading.jl:2222
[24] top-level scope
@ stdin:3
during initialization of module GDAL_jll
in expression starting at C:\Users\johns\.julia\packages\GMT_jll\hdOO4\src\wrappers\x86_64-w64-mingw32.jl:7
in expression starting at C:\Users\johns\.julia\packages\GMT_jll\hdOO4\src\GMT_jll.jl:2
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile GMT_jll [b68b8c3f-ed99-5bef-9675-4739d9426b26] to "C:\\Users\\johns\\.julia\\compiled\\v1.10\\GMT_jll\\jl_918D.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base .\loading.jl:2468
[3] compilecache
@ .\loading.jl:2340 [inlined]
[4] (::Base.var"#968#969"{Base.PkgId})()
@ Base .\loading.jl:1974
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\johns\AppData\Local\Programs\julia-1.10.4\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
[6] #mkpidlock#6
@ C:\Users\johns\AppData\Local\Programs\julia-1.10.4\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\johns\AppData\Local\Programs\julia-1.10.4\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
[8] #invokelatest#2
@ .\essentials.jl:894 [inlined]
[9] invokelatest
@ .\essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:2983
[11] maybe_cachefile_lock
@ .\loading.jl:2980 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1970
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[14] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[15] invoke_in_world
@ .\essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1803
[17] macro expansion
@ .\loading.jl:1790 [inlined]
[18] macro expansion
@ .\lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[20] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[21] invoke_in_world
@ .\essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1746
[23] top-level scope
@ C:\Users\johns\.julia\packages\GMT\bf7CV\src\GMT.jl:47
[24] include
@ .\Base.jl:495 [inlined]
[25] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base .\loading.jl:2222
[26] top-level scope
@ stdin:3
in expression starting at C:\Users\johns\.julia\packages\GMT\bf7CV\src\GMT.jl:1
in expression starting at stdin:
Iβm open to any suggestions. Thanks in advance.