Info: Warning:
Ignoring No such file or directory (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: /usr/lib/dri/swrast_dri.so: Unable to open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri: \$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Find these two files stored on your local machine:
and copy them to the corresponding folders
wheris iris_dri.so
whereis swrast_dri.so
sudo mkdir /usr/lib/dri
sudo cp '/media/gisnew/456d56bb-8a31-4514-bf36-b0b2f5a0c7ff/usr/lib/x86_64-linux-gnu/dri/iris_dri.so' /usr/lib/dri/iris_dri.so
sudo cp '/media/gisnew/456d56bb-8a31-4514-bf36-b0b2f5a0c7ff/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so' /usr/lib/dri/swrast_dri.so
Then another error was reported:
Info: 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/wyc/software/anconda3/bin/../lib/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/wyc/software/anconda3/bin/../lib/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
Check if there is the desired version under the file that reported the error
strings /home/wyc/software/anconda3/lib/libstdc++.so.6 | grep GLIBCXX
Use conda to install the corresponding version
conda install libstdcxx-ng=12.1.0 --channel conda-forge
support to 3.4.30