ITADN

Ghostscript_jll.jl (v9.55.1+0) cannot run 'gs' on CentOS 7

#13018Closedmelodyjulia 创建于 2026-01-27
M
melodyjuliacommented
This was found by using GMT.jl, which invokes ```gs``` to plot. This only occurs for v9.55.1+0, not v9.55.0+4. The complete error message is: ``` psconvert [ERROR]: Cannot execute Ghostscript ('/home/test/.julia/artifacts/2039c07ff05f00d681aa777c71d90947251e16fa/bin/gs'). ERROR: Something went wrong when calling the module. GMT error number = 79 Stacktrace: [1] error(s::String) @ Base ./error.jl:44 [2] gmt(::String) @ GMT ~/.julia/packages/GMT/hBo3v/src/gmt_main.jl:166 [3] showfig(d::Dict{Symbol, Any}, fname_ps::String, fname_ext::String, opt_T::String, K::Bool, fname::String) @ GMT ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4204 [4] finish_PS_module_barr_last(d::Dict{…}, cmd::Vector{…}, fname::String, fname_ext::String, opt_extra::String, output::String, opt_T::String, K::Bool, P::Nothing) @ GMT ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4586 [5] finish_PS_module(d::Dict{Symbol, Any}, cmd::Vector{String}, opt_extra::String, K::Bool, O::Bool, finish::Bool, args::Nothing) @ GMT ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4524 [6] prep_and_call_finish_PS_module @ ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4428 [inlined] [7] prep_and_call_finish_PS_module @ ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4427 [inlined] [8] coast(cmd0::String; clip::String, first::Bool, kwargs::@Kwargs{region::Symbol, proj::Symbol, frame::Symbol, land::Symbol, show::Bool}) @ GMT ~/.julia/packages/GMT/hBo3v/src/pscoast.jl:85 [9] coast @ ~/.julia/packages/GMT/hBo3v/src/pscoast.jl:78 [inlined] [10] top-level scope @ REPL[2]:1 ``` When running ```gs``` alone, the error message is short: ``` /lib64/libz.so.1: version `ZLIB_1.2.9' not found ``` Please also refer to the bug report on GMT.jl (https://github.com/GenericMappingTools/GMT.jl/issues/1893#issuecomment-3799171415)
关闭于 2026-05-10 23 条评论