gpt4 book ai didi

homebrew - 运行 "could not symlink"时如何修复 `brew link automake` 错误?

转载 作者:行者123 更新时间:2023-12-02 08:23:59 24 4
gpt4 key购买 nike

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/aclocal/README
/usr/local/share/aclocal is not writable.

You can try again using: brew link automake

当我再次尝试时,它显示相同的错误。

最佳答案

我有一个类似的错误:

$ brew link pkg-config
Linking /usr/local/Cellar/pkg-config/0.28...
Error: Could not symlink share/aclocal/pkg.m4
/usr/local/share/aclocal is not writable.

我使用以下方法解决了这个问题:sudo chown -R $(whoami)/usr/local/share/

关于homebrew - 运行 "could not symlink"时如何修复 `brew link automake` 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34014838/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com