在/etc/ld.so.conf.d/下新建一个.conf文件,添加找不到的so目录到文件中 然后执行ldconfig即可 转载于:https://www.cnblogs.com/yanwei-wang/p/8026943.html