dpo*_*197 22 homebrew pkg-config
Warning: Could not link pkg-config. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link pkg-config`??????
Run Code Online (Sandbox Code Playgroud)
正如Michael Pigg上面所说,在我的情况下,这是文件夹权限问题.我必须做以下事情:
sudo chmod 777 /usr/local/bin
sudo chmod 777 /usr/local/share/man/man1
brew link pkg-config
Run Code Online (Sandbox Code Playgroud)
在我完成之后:
sudo chmod 755 /usr/local/bin
sudo chmod 755 /usr/local/share/man/man1
Run Code Online (Sandbox Code Playgroud)
恢复原始权限.
| 归档时间: |
|
| 查看次数: |
36435 次 |
| 最近记录: |