-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The package cannot be installed on Julia v1.11.7.
could not load library "~/.julia/artifacts/e9fe1c15f5b3873a7b260e9395ef9a49336bc333/lib/libprimac.so"
~/.julia/artifacts/e9fe1c15f5b3873a7b260e9395ef9a49336bc333/lib/libprimac.so: cannot enable executable stack as shared object requires: Invalid argument
[...]
during initialization of module PRIMA_jll
versioninfo()
julia> versioninfo()
Julia Version 1.11.7
Commit f2b3dbda30a (2025-09-08 12:10 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 32 × AMD Ryzen 9 7950X 16-Core Processor
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 1 default, 0 interactive, 1 GC (on 32 virtual cores)
Environment:
JULIA_DEPOT_PATH = /home/jan/.juliaThis is a minimal example:
working example
julia> import Pkg
julia> Pkg.add("PRIMA")
Resolving package versions...
No Changes to `~/.julia/environments/v1.11/Project.toml`
No Changes to `~/.julia/environments/v1.11/Manifest.toml`
Precompiling project...
✗ PRIMA
0 dependencies successfully precompiled in 2 seconds. 793 already precompiled.
1 dependency errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
PRIMA
Failed to precompile PRIMA [0a7d04aa-8ac2-47b3-b7a7-9dbd6ad661ed] to "/home/jan/.julia/compiled/v1.11/PRIMA/jl_M9i3Ds".
ERROR: LoadError: InitError: could not load library "/home/jan/.julia/artifacts/e9fe1c15f5b3873a7b260e9395ef9a49336bc333/lib/libprimac.so"
/home/jan/.julia/artifacts/e9fe1c15f5b3873a7b260e9395ef9a49336bc333/lib/libprimac.so: cannot enable executable stack as shared object requires: Invalid argument
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl ./libdl.jl:120
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl ./libdl.jl:119
[3] macro expansion
@ ~/.julia/packages/JLLWrappers/m2Pjh/src/products/library_generators.jl:63 [inlined]
[4] __init__()
@ PRIMA_jll ~/.julia/packages/PRIMA_jll/ncn5V/src/wrappers/x86_64-linux-gnu-libgfortran5.jl:10
[5] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1378
[6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1366
[7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base ./loading.jl:1254
[8] _include_from_serialized (repeats 2 times)
@ ./loading.jl:1210 [inlined]
[9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base ./loading.jl:2057
[10] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2527
[11] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[12] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[13] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[14] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[15] macro expansion
@ ./loading.jl:2314 [inlined]
[16] macro expansion
@ ./lock.jl:273 [inlined]
[17] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[18] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[19] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[20] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
[21] include
@ ./Base.jl:562 [inlined]
[22] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2881
[23] top-level scope
@ stdin:6
during initialization of module PRIMA_jll
in expression starting at /home/jan/.julia/packages/PRIMA/X8SQr/src/PRIMA.jl:1
in expression starting at stdin:Metadata
Metadata
Assignees
Labels
No labels