Hello
I get a ton of warning while trying to install ImageView on Ubuntu 24.10 with Julia 1.11.3. At the end ImageView is not installed.
julia> Pkg.add("ImageView")
Resolving package versions...
No Changes to `~/.julia/environments/v1.11/Project.toml`
No Changes to `~/.julia/environments/v1.11/Manifest.toml`
Precompiling project...
✗ OpenCV
✗ ImageView
0 dependencies successfully precompiled in 3 seconds. 341 already precompiled.
2 dependencies errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`
julia> err
PkgPrecompileError: The following 2 direct dependencies failed to precompile:
OpenCV
Failed to precompile OpenCV [f878e3a2-a245-4720-8660-60795d644f2a] to "/home/denys/.julia/compiled/v1.11/OpenCV/jl_3egTNv".
ERROR: LoadError: InitError: could not load library "/home/denys/.julia/artifacts/55c9720fa4f3a61012a2311bfcf0ba4e66405dea/lib/libopencv_julia.so"
/home/denys/.julia/artifacts/55c9720fa4f3a61012a2311bfcf0ba4e66405dea/lib/libopencv_julia.so: undefined symbol: small_typeof, version JL_LIBJULIA_1.11
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/GfYNv/src/products/library_generators.jl:63 [inlined]
[4] __init__()
@ OpenCV_jll ~/.julia/packages/OpenCV_jll/Hfsh1/src/wrappers/x86_64-linux-gnu-cxx11-julia_version+1.11.0.jl:78
[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:557 [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 OpenCV_jll
in expression starting at /home/denys/.julia/packages/OpenCV/5LneO/src/OpenCV.jl:1
in expression starting at stdin:6
ImageView
Failed to precompile ImageView [86fae568-95e7-573e-a6b2-d8a6b900c9ef] to "/home/denys/.julia/compiled/v1.11/ImageView/jl_3mBiMb".
(julia:16259): Gtk-WARNING **: 20:11:19.803: Theme parser error: gtk.css:1954:16-20: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2148:20-24: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2243:29-33: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2244:29-33: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2252:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2253:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2734:16-20: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2737:16-20: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:2757:16-20: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:3462:29-33: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:3464:16-20: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:3510:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:3512:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.804: Theme parser error: gtk.css:3514:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:3517:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:3519:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4281:28-32: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4285:27-31: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4287:29-33: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4288:29-33: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4289:43-47: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4291:44-48: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4292:44-48: Expected a number
(julia:16259): Gtk-WARNING **: 20:11:19.805: Theme parser error: gtk.css:4293:44-48: Expected a number
/home/denys/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/julia: symbol lookup error: /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_display_create_queue_with_name
Any idea how to fix this?
Thanks for your help.