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: /usr/lib/dri/iris_dri.so: 无法打开共享对象文件: 没有那个文件或目录 (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: 无法打开共享对象文件: 没有那个文件或目录 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
查找本机存储的这两个文件:
并将他们复制到相应的文件夹里面
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
接着又报错:
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
查看报错的文件下面有没有想要的版本
strings /home/wyc/software/anconda3/lib/libstdc++.so.6 | grep GLIBCXX
使用conda 安装相应的版本的
conda install libstdcxx-ng=12.1.0 --channel conda-forge
support to 3.4.30