Description
This is a somewhat speculative issue without a reproducer - I'm filing this as I've run into this a few times now and have had sporadic interactions with people on Discourse/Slack seeing this as well, so hopefully this consolidates things by giving those who experience this issue something to search for.
What prompted me to file today was seeing this in one of my environments:
64 dependencies successfully precompiled in 360 seconds. 266 already precompiled.
1 dependency had output during precompilation:
┌ GR
│ ERROR: LoadError: InitError: could not load library "C:\Users\ngudat\.julia\artifacts\52bbefbea6a9098fa5c57208812d3868fac90841\bin\libxml2-2.dll"
│ Access is denied.
│ Stacktrace:
│ [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
│ @ Base.Libc.Libdl .\libdl.jl:117
I had previously posted on Discourse about this here:
with others chiming in reporting the same issue. There's also an issue reported with Yggdrasil here:
All of this is a bit of a throwback to this old issue from 1.5 days:
(and again with what I've seen on 1.10 again starting Julia as admin was fine, but then required to always run as admin when wanting to use any packages loading artifacts).
If anything changed in how artifacts get handled on Windows it might be worth looking into. Equally if no one else chimes in here reporting any issues I might just be seeing a hangover effect from artifacts installed earlier and the problem is solved on rc1 already.