Did you check this?
The most serious problem (what giordano is focusing on) is that something is linking to a system library instead of one of the ones installed by a Julia package.
But there are a couple of other things to be aware of. All those gtk-theme errors are likely due to having a misconfigured default GTK theme. I have had similar annoyances which are fixed by putting something like āGTK_THEME=Adwaitaā in my environment.
Secondly, if OpenCV is loaded then it may hijack the file loading utilities and put images into structures not handled well by the JuliaImages packages. I would load ImageIO instead.
The theme warnings are annoying, but I donāt think they are what makes precompilation fail (at least Iāve had working installations that sometimes emit theme warnings but still work fine). Weāve also confirmed that the failure persists in a fresh environment without OpenCV.
EDIT: I now realize youāre not claiming that this may be causing the installation failures, only providing helpful usage tips. Apologies for the curt response.
There you go
denys@PC-Denys:~$ which julia
/home/denys/.juliaup/bin/julia
Great, then at least there shouldnāt be an issue with the julia youāve installed.
For what itās worth, I get the same error as you when checking ENV["LD_LIBRARY_PATH"]
, i.e., that environment variable is not set. But the ImageView installation works for me (Iām currently on macOS though, so not comparable to your situation).
Iām afraid I donāt have any further advice to offerā¦ Letās hope someone else who maybe has a more similar system to you can help out.
Thanks for your time.
Right now I only have 2 options left:
- I can try different GTK themes and see if the error disappear.
- I can try X11 instead of Wayland.
Got it!!!
I moved to X11.
sudo vi /etc/gdm3/custom.conf
I commented out the line
WaylandEnable=false
restart the system.
All issues have been resolved!
Conclusion: ImageView does not properly support Wayland.
For the parsing warning, I had to revert back to Adwaita theme.
Given that X11 seems to be on its way out, maybe it should be looked at.
@danielwe should I create an issue at ImageView Github repo? Is that the way to do?
Actually, it looks like thereās already an issue for this on the Gtk4.jl repo: Undefined Symbol Ā· Issue #83 Ā· JuliaGtk/Gtk4.jl Ā· GitHub. Iād encourage you to add a comment with your experience there, specifically emphasizing the fact that switching from Wayland to X11 fixed the issue.
I havenāt kept up too well with the evolution of Wayland vs X11 adoption lately. Iād be surprised if X11 drops out of support completely in the very near future, but it certainly seems like Wayland is finally becoming the preferred choice for mainstream desktop Linux distros.