Open cihga39871 opened 7 months ago
Strange, according to https://github.com/JuliaLang/PackageCompiler.jl/blob/8cd96a11f91fcbe2349712a2401c1bd24424a977/src/library_selection.jl#L11 it should get copied if SuiteSparse_jll is in the environment (which it is for you).
Actually, my project does not need SuiteSparse, and SuiteSparse is not in Project.toml or Manifest.toml.
Okay, but in that case filter_stdlibs
should have filtered it out from the sysimage so then why does
│ [3] __init__()
│ @ SuiteSparse.CHOLMOD ~/projects/app/share/julia/stdlib/v1.8/SuiteSparse/src/cholmod.jl:161
run...
Oh, it is with filter_stdlibs=false
...
I was seeing this in the CI for https://github.com/JuliaLang/PackageCompiler.jl/pull/929 on <1.10 as well, but not on 1.10.
Though it appears fixed in: https://github.com/JuliaLang/PackageCompiler.jl/pull/929/commits/15b36560a5e5488bf8d20f29d0abd439ba8f44bb But there it now seems to be an un-caught error: https://github.com/JuliaLang/PackageCompiler.jl/actions/runs/8329025921/job/22790369630?pr=929#step:5:434
Hi,
I found some libs are missing when building apps, and it is because
create_app()
does not copy the libs to the new app's lib/julia folder. I did not have the same problem on Nov 10 2023, but after updating the dependencies yesterday, the following error message was shown:Environment
Julia version v1.8.5 and v1.10.0 were tested, and all have the same problem.
I manually fix the issue by copying libs from julia to my app after building app:
Working example
The working example is https://github.com/cihga39871/Atria