-
Notifications
You must be signed in to change notification settings - Fork 70
libsuitesparseconfig.so.7: undefined symbol: SuiteSparse_config #332
Copy link
Copy link
Closed
Description
Hi,
with julia v1.8.5 and suitesparse v7.0.0 (on Archlinux),
everytime julia runs, it gives
% julia
┌ Error: Error during initialization of module CHOLMOD
│ exception =
│ could not load symbol "SuiteSparse_config":
│ /usr/lib/libsuitesparseconfig.so.7: undefined symbol: SuiteSparse_config
└ @ SuiteSparse.CHOLMOD /build/julia/src/julia-1.8.5/usr/share/julia/stdlib/v1.8/SuiteSparse/src/cholmod.jl:230which (I believe) is raised by
SparseArrays.jl/src/solvers/cholmod.jl
Lines 233 to 244 in c7ad0b9
| # Register gc tracked allocator if CHOLMOD is new enough | |
| if current_version >= v"3.0.0" | |
| cnfg = cglobal((:SuiteSparse_config, :libsuitesparseconfig), Ptr{Cvoid}) | |
| unsafe_store!(cnfg, cglobal(:jl_malloc, Ptr{Cvoid}), 1) | |
| unsafe_store!(cnfg, cglobal(:jl_calloc, Ptr{Cvoid}), 2) | |
| unsafe_store!(cnfg, cglobal(:jl_realloc, Ptr{Cvoid}), 3) | |
| unsafe_store!(cnfg, cglobal(:jl_free, Ptr{Cvoid}), 4) | |
| end | |
| catch ex | |
| @error "Error during initialization of module CHOLMOD" exception=ex,catch_backtrace() | |
| end |
and I think that the reason is just suitesparse v7 removed the visibility of SuiteSparse_config (https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v7.0.0).
I wonder will there be a fix for this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels