lapack/blas/openblas proper installation from source - replace system libraries with new ones

对着背影说爱祢 提交于 2019-12-05 17:51:59
ztik

You can use LD_LIBRARY_PATH environment variable. Just added in your ~/.bashrc. i.e.

$ echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc

Note: notice double >> not to delete the previous content.

Second option is to add the path in the /etc/ld.so.conf.d. i.e.

$ echo /usr/local/lib > /etc/ld.so.conf.d/myblas.conf

You can check this question also for more details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!