libGL error: failed to load drivers: raseonsi and swrast

Fedora 38. I seem to be missing some drivers but clueless where to find and how to install.

I am Using Jupyter Notebook far an online class. A class assignment to plot a line graph of a data frame column gave the following errors, although the graph did draw properly. I can provide the code if needed.

CPU is AMD Ryzen 5 5600G with Radeon Graphics X 12

libGL error: MESA-LOADER: failed to open radeonsi: /home/john/Desktop/sample_project/env/bin/…/lib/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /usr/lib64/dri/radeonsi_dri.so) (search paths /usr/lib64/dri, suffix _dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open swrast: /home/john/Desktop/sample_project/env/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.30’ not found (required by /usr/lib64/dri/swrast_dri.so) (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: swrast

I don’t think you’re missing anything (if you have a standard Workstation install). The project that you use bundles libstdc++.so*, which is shouldn’t. That’s a very common problem e.g. for Linux-native games. Just remove/rename the library, it should fall back to the system libstdc++, and work fine.