LoadError: Failed to precompile Distributions

Can someone point me into the right direction how to solve the error?

ERROR: LoadError: Failed to precompile Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] to "/var/home/user/.julia/compiled/v1.10/Distributions/jl_iIDhMS".

then StatsFuns fails

ERROR: LoadError: Failed to precompile StatsFuns [4c63d2b9-4356-54db-8cca-17b64c39e42c] to "/var/home/laptop/.julia/compiled/v1.10/StatsFuns/jl_vTc2qL".
Stacktrace:

using StatsFuns yields

ERROR: LoadError: InitError: could not load library "/var/home/user/.julia/artifacts/abf4b5086b4eb867021118c85b2cc11a15b764a9/lib/libopenspecfun.so"
libquadmath.so.0: cannot open shared object file: No such file or directory
Stacktrace:

system: fedora silverblue 40
julia v1.10.4 installed with nix

recompiling doesn’t solve the problem

While it doesn’t solve the general problem, it solves my issue in not being able to use many packages.
I downgraded to julia-lts v1.6.7

Can you try instead with the official binaries?

that works. thank you!