libGL error: MESA-LOADER: failed to open radeonsi: /home/moritz/anaconda3/lib/python3.9/site-packages/matplotlib/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open radeonsi: /home/moritz/anaconda3/lib/python3.9/site-packages/matplotlib/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open swrast: /home/moritz/anaconda3/lib/python3.9/site-packages/matplotlib/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast 

I am using a Thinkpad E14 gen 2 with a Ryzen CPU, while plotting graphs or running pygame files, this error occurs, I tried solving it by reinstalling the mesa-loader, but nothing helped.

1 Answer

This worked for me when I had the exact same error.

cp /lib/libstdc++.so.6 ~/anaconda3/lib/ 

If that didn't work then try this:

cp "/lib/libstdc++.so.6" ~/anaconda3/lib/ 
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.