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:230
which (I believe) is raised by
|
# 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?
Hi,
with julia v1.8.5 and suitesparse v7.0.0 (on Archlinux),
everytime julia runs, it gives
which (I believe) is raised by
SparseArrays.jl/src/solvers/cholmod.jl
Lines 233 to 244 in c7ad0b9
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?