-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Hi,
I have build GMT 6.4.0 from the latest stable release, and outside Julia gmt
run without problems.
However, in a fresh installation of Julia 1.8.5 on Ubuntu 22.04, GMT cannot by installed by add GMT
because it fails at precompiling.
If I try to load GMT in Julia by using GMT
I got this error:
ERROR: InitError: could not load library "/lib/libgdal.so.30"
/opt/julia-1.8.5/bin/../lib/julia/libcurl.so: version `CURL_OPENSSL_4' not found (required by /lib/libgdal.so.30)
Stacktrace:
[1] GDALVersionInfo(a1::String)
@ GMT.Gdal ~/.julia/packages/GMT/7jXvi/src/gdal.jl:331
[2] __init__()
@ GMT.Gdal ~/.julia/packages/GMT/7jXvi/src/gdal.jl:2457
[3] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})
@ Base ./loading.jl:831
[4] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)
@ Base ./loading.jl:1039
[5] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1315
[6] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[7] macro expansion
@ ./loading.jl:1180 [inlined]
[8] macro expansion
@ ./lock.jl:223 [inlined]
[9] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
during initialization of module Gdal
The output of the Julia versioninfo()
is:
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, broadwell)
Threads: 4 on 4 virtual cores
Environment:
JULIA_NUM_THREADS = 4
I think it is the same issue of #1052, but I would like to ask if you known about a temporary solution to work with GMT.jl?
Any insights will be appreciated.
Cheers,
Metadata
Metadata
Assignees
Labels
No labels