-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] gksqt can't find version Qt_6.7 on Fedora 39 #4954
Comments
I am using Ubuntu 24.04, and I have the same issue when running Julia in Emacs, but it works when I run Julia from terminal directly. |
CC: @jheinen |
If you use the BinaryBuilder version of GR there's no need to install Qt6 packages from your Linux distribution. Did you probably set an environment variable (LD_PRELOAD, LD_LIBRARY_PATH)? This would explain, why the behavior ist different when running Julia from a terminal or in Emacs (due to different shell profiles or a missing login shell). |
@jheinen Thank you so much for the information! Yes, I did have the following line in my Emacs configuration, and removing it makes GR work from Emacs now. (setenv "LD_PRELOAD" "/usr/lib/x86_64-linux-gnu/libstdc++.so.6") I have another computer with the same Linux and Emacs cofiguation, but GR works fine with the above line. I guess the issue is also related to my current computer. I have some other weird issues related to my graphic card. Anyway, this line was added as a temp fix for a GLMakie.jl issue. I should have removed it a while ago. Many thanks again for your help! |
Details
I'm new to Julia in general but was trying to re-run a script that worked about 2 years ago and encountered an error reproduced by any plot I've tried. E.g.,
I'm on Fedora 39 using Julia 1.9.2 and Plots.jl 1.40.4. The closest related issue I could find was this one but my hunch here is that this version of Plots specifically requires Qt>6.7 whereas I have Qt 6.6.2:
Is the solution to downgrade Plots to a version that won't look for Qt 6.6? The installation page of the Plots.jl docs doesn't mention potential issues like this. The docs for Julia in the GR Framework docs mention the Linux prerequisites but I've installed them all (assuming I should use
qt6
rather thanqt5
, because the docs give packages for Fedora 28, though I have theqt5
versions anyway).I tried removing my
~/.julia
directory completely and reinstalling Plots.jl again but got the same error message.Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version:
Backend version (
]st -m <backend(s)>
):Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: