Peacock is a GUI interface in moose, which can help judge the input of model. One day, when I opened the software and found peacock, an error occurred and the error content was reported
libGL error: MESA-LOADER: failed to open r600: /home/zhaohaowang/miniconda3/envs/moose/lib/python3.7/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/r600_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open r600: /home/zhaohaowang/miniconda3/envs/moose/lib/python3.7/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/r600_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast: /home/zhaohaowang/miniconda3/envs/moose/lib/python3.7/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
According to the statement on the Internet:
Similar problems
And
Matlab encountered this problem
found that the libstdc + + library of peacock did not match the system library
solve the problem
First, find the location of libstdc +
sudo find/-name "libstdc++.so.6*"
obtain
find: ‘/proc/83730/task/83730/net’: Invalid arguments
find: '/proc/83730/net': invalid parameter
find: '/run/user/1000/gvfs': insufficient permissions
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-ng-9.3.0-h6de172a_19/lib/libstdc++.so.6.0.28
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-ng-9.3.0-h6de172a_19/lib/libstdc++.so.6
/home/zhaohaowang/miniconda3/pkgs/gcc_impl_linux-64-9.3.0-h28f5a38_17/x86_64-conda-linux-gnu/sysroot/lib64/libstdc++.so.6.0.28
/home/zhaohaowang/miniconda3/pkgs/gcc_impl_linux-64-9.3.0-h28f5a38_17/x86_64-conda-linux-gnu/sysroot/lib64/libstdc++.so.6
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-ng-9.1.0-hdf63c60_0/lib/libstdc++.so.6.0.26
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-ng-9.1.0-hdf63c60_0/lib/libstdc++.so.6
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-ng-9.1.0-hdf63c60_0/x86_64-conda_cos6-linux-gnu/sysroot/lib/libstdc++.so.6.0.26
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-ng-9.1.0-hdf63c60_0/x86_64-conda_cos6-linux-gnu/sysroot/lib/libstdc++.so.6
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-devel_linux-64-9.3.0-h4084dd6_17/x86_64-conda-linux-gnu/lib/libstdc++.so.6.0.28
/home/zhaohaowang/miniconda3/pkgs/libstdcxx-devel_linux-64-9.3.0-h4084dd6_17/x86_64-conda-linux-gnu/lib/libstdc++.so.6
/home/zhaohaowang/miniconda3/lib/libstdc++.so.6.0.26
/home/zhaohaowang/miniconda3/lib/libstdc++.so.6.0.29
/home/zhaohaowang/miniconda3/lib/libstdc++.so.6.0.2
/home/zhaohaowang/miniconda3/envs/moose/x86_64-conda-linux-gnu/sysroot/lib64/libstdc++.so.6.0.28
/home/zhaohaowang/miniconda3/envs/moose/x86_64-conda-linux-gnu/sysroot/lib64/libstdc++.so.6
/home/zhaohaowang/miniconda3/envs/moose/x86_64-conda-linux-gnu/lib/libstdc++.so.6.0.28
/home/zhaohaowang/miniconda3/envs/moose/x86_64-conda-linux-gnu/lib/libstdc++.so.6
/home/zhaohaowang/miniconda3/envs/moose/lib/libstdc++.so.6.0.28
/home/zhaohaowang/miniconda3/envs/moose/lib/libstdc++.so.6
/home/zhaohaowang/miniconda3/envs/moose/lib/libstdc++.so.6.0.29
/home/zhaohaowang/miniconda3/x86_64-conda_cos6-linux-gnu/sysroot/lib/libstdc++.so.6.0.26
/home/zhaohaowang/miniconda3/x86_64-conda_cos6-linux-gnu/sysroot/lib/libstdc++.so.6
/home/zhaohaowang/.local/share/RecentDocuments/libstdc++.so.6.0.26.desktop
/usr/lib/dri/libstdc++.so.6
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.29
/usr/lib32/libstdc++.so.6
/usr/lib32/libstdc++.so.6.0.29
/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.29-gdb.py
Link lib/libstdc + +. So. 6 to the libstdc + + of peacock
ln -sf /usr/lib/libstdc++.so.6 /home/zhaohaowang/miniconda3/envs/moose/lib/python3.7/site-packages/PyQt5/../../../libstdc++.so.6
Then it can be spicy!