macos ldconfig 在 Mac OS X 中等效吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1451047/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
ldconfig equivalent in Mac OS X?
提问by Tomer Lichtash
Is there a parallel command to Linux's LDCONFIG for Mac OS X's Terminal?
是否有针对 Mac OS X 终端的 Linux LDCONFIG 的并行命令?
采纳答案by phsiao
The answer is no. But you can still configure the search path via environment variables, see dyld(1).
答案是不。但是您仍然可以通过环境变量配置搜索路径,请参阅 dyld(1)。
回答by Gal Bracha
Yes. Just run:
是的。赶紧跑:
sudo update_dyld_shared_cache
sudo update_dyld_shared_cache
回答by Michael Krelin - hacker
The best suggestion I can come with is to lookup man dyld
.
我能提出的最好建议是查找man dyld
.