centos如何解决python cv2的共享文件问题?

首先我在docker运行,因此一切需要交互的方式都是不可行的。其次用的是centos8的系统。
centos libSM.so.6: cannot open shared object file: No such file or directory

参考:https://blog.csdn.net/qc530167365/article/details/91491851