** environment: linux with Version 1.11.3 (2025-01-21) of julia and the latest version of PackageCompiler.jl
I started studying the PackageCompiler.jl documentation and tried to reproduce the example sample. More precisely, I ran:
[alex@desk ~]$ cd .julia/packages/PackageCompiler/UbaS4/examples
[alex@desk examples]$ julia
julia> using Pkg
julia> Pkg.generate("MyApp")
julia> exit()
[alex@desk ~]$ julia -q --project
julia> using PackageCompiler
julia> create_app("MyApp", "MyAppCompiled")
However, I received:
PackageCompiler: bundled libraries:
βββ Base:
β βββ libLLVM-16jl.so - 126.855 MiB
β βββ libLLVM.so.19.1 - 134.303 MiB
β βββ libatomic.so.1.2.0 - 168.273 KiB
β βββ libatomic_ops.so.1.2.0 - 13.812 KiB
β βββ libatomic_ops_gpl.so.1.2.1 - 13.891 KiB
β βββ libgcc_s.so.1 - 894.664 KiB
β βββ libgfortran.so.5.0.0 - 9.856 MiB
β βββ libgmp.so.10.5.0 - 662.625 KiB
β βββ libgmpxx.so.4.7.0 - 30.039 KiB
β βββ libgomp.so.1.0.0 - 1.499 MiB
β βββ libmpfr.so.6.2.1 - 757.562 KiB
β βββ libopenlibm.so.4.0 - 188.570 KiB
β βββ libpcre2-8.so.0.13.0 - 629.953 KiB
β βββ libquadmath.so.0.0.0 - 940.164 KiB
β βββ libstdc++.so.6.0.33 - 21.030 MiB
β βββ libunwind-coredump.so.0.0.0 - 25.750 KiB
β βββ libunwind-ptrace.so.0.0.0 - 22.062 KiB
β βββ libunwind-setjmp.so.0.0.0 - 12.938 KiB
β βββ libunwind-x86_64.so.8.1.0 - 69.734 KiB
β βββ libunwind.so.8.1.0 - 61.898 KiB
β βββ libz.so.1.3.1 - 98.016 KiB
β βββ libzbar.so.0.3.0 - 234.141 KiB
β βββ libzbargtk.so.0.0.2 - 25.945 KiB
β βββ libzbarqt.so.0.1.2 - 82.133 KiB
β βββ libzimg.so.2.0.0 - 822.219 KiB
β βββ libzip.so.5.5 - 126.938 KiB
β βββ libzix-0.so.0.6.2 - 54.016 KiB
β βββ libzmf-0.0.so.0.0.2 - 158.055 KiB
β βββ libzmq.so.5.2.5 - 914.016 KiB
β βββ libzstd.so.1.5.6 - 889.945 KiB
β βββ libzvbi-chains.so.0.0.0 - 61.953 KiB
β βββ libzvbi.so.0.13.2 - 519.430 KiB
β βββ libzzip-0.so.13.0.78 - 30.359 KiB
β βββ libzzipfseeko-0.so.13.0.78 - 17.883 KiB
β βββ libzzipmmapped-0.so.13.0.78 - 21.883 KiB
β βββ libzzipwrap-0.so.13.0.78 - 13.883 KiB
β βββ libjulia.so.1.11.3 - 103.180 KiB
βββ Stdlibs:
β βββ OpenBLAS_jll
ERROR: IOError: symlink("libopenblas_64.so.0.3", "MyAppCompiled/lib/julia/libopenblas64_.so"): file already exists (EEXIST)
Stacktrace:
[1] cp
@ ./file.jl:378 [inlined]
[2] bundle_julia_libraries(dest_dir::String, stdlibs::Vector{String})
@ PackageCompiler ~/.julia/packages/PackageCompiler/UbaS4/src/PackageCompiler.jl:1395
[3] create_app(package_dir::String, app_dir::String; executables::Nothing, precompile_execution_file::Vector{β¦}, precompile_statements_file::Vector{β¦}, incremental::Bool, filter_stdlibs::Bool, force::Bool, c_driver_program::String, cpu_target::String, include_lazy_artifacts::Bool, sysimage_build_args::Cmd, include_transitive_dependencies::Bool, include_preferences::Bool, script::Nothing)
@ PackageCompiler ~/.julia/packages/PackageCompiler/UbaS4/src/PackageCompiler.jl:863
[4] create_app(package_dir::String, app_dir::String)
@ PackageCompiler ~/.julia/packages/PackageCompiler/UbaS4/src/PackageCompiler.jl:829
[5] top-level scope
@ REPL[2]:1
From what I understand, it seems to be a problem in the PackageCompiler packageβ¦ Since Iβm still new to julia, I would like to check if my assumption is correct? (Problem with the PackageCompiler package) If thatβs the case, Iβll report it in the projectβs Issuesβ¦
Or is it just a beginnerβs mistake?