Anaconda worked well previously on 22.04.1 LTS but some. Now I'm getting the following error when trying to launch it. I tried reinstalling it but with no success.
2023-03-24 11:26:28,514 - WARNING linux_scaling.get_scaling_factor_using_dbus:44
Can't detect system scaling factor settings for primary monitor.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: MESA-LOADER: failed to open iris: /home/drrci/anaconda3/lib/python3.10/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /home/drrci/anaconda3/lib/python3.10/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
fish: Job 1, 'anaconda-navigator' terminated by signal SIGSEGV (Address boundary error)
The following solution was suggested by GPT-4
export QT_QPA_PLATFORM=wayland
and after installing qtwayland5 it still gives the following error
Can't detect system scaling factor settings for primary monitor.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb.
fish: Job 1, 'anaconda-navigator' terminated by signal SIGABRT (Abort)