When trying to precompile the Differential Equations package on Julia, one of the dependencies - MKL_jll specifically - repeatedly fails to precompile. I get the error message 'could not load library "path to one of the folders in artifacts"
'Error message after precompiling from scratch.
When I was originally attempting to install DifferentialEquations, there were 16 errored dependencies, and when I tried to precompile them separately, it gave me a similar message. As per some other suggestions, I tried clearing out my Julia cache and reattempting, but that didn't seem to solve the issue. I also tried removing the errored dependencies independently via Pkg.rm(), updating packages via Pkg.update(), and clearing out .julia\compiled before precompiling from scratch (my most recent attempt). I originally had the DifferentialEquations package installed and compiling properly, but since I uninstalled and reinstalled Julia, I've been having this issue.
This looks like a corrupt package depot.
using Pkg; Pkg.build("MKL_jll")
. This could redownload dependencies.julia
folder entirely, not just compiled
One of the above things always helps.