linux 下编译报错:error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file

参考:https://blog.csdn.net/liu_feng_zi_/article/details/107434052
原理大概是 ldconfig 给制造了软链接,所以需要哪个库,就去找:
sudo find / -maxdepth 10 -name libmkl_intel_lp64.so
找到以后把它的目录写进 /etc/ld.so.conf.d/mkl.conf
然后 ldconfig

posted on 2022-04-27 17:34  luyi07  阅读(668)  评论(0编辑  收藏  举报

导航