Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想LIBRARY_PATH永久设置我的。我搜索了它,但有设置指南LD_LIBRARY_PATH,所以如果有人帮助我,我将不胜感激。提前致谢。
LIBRARY_PATH
LD_LIBRARY_PATH
你在~/.bashrc. 在新行上,只需输入:
~/.bashrc
export LIBRARY_PATH=<path to your library files>:$LIBRARY_PATH
然后,运行source ~/.bashrc以启用您在此处添加的任何内容。
source ~/.bashrc