2013-05-01 38 views
1

鏈接 brew install libmpc 我得到一個錯誤自制失敗libmpc

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 libmpc' 

然後我跑

brew doctor 

後,我得到了

Warning: You have unlinked kegs in your Cellar 
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on 
those kegs to fail to run properly once built. Run `brew link` on these: `libmpc` 

所以我跑

brew link libmpc 

和我

Error: Could not symlink file: /usr/local/Cellar/libmpc/1.0.1/lib/libmpc.dylib 
/usr/local/lib/libmpc.dylib may already exist. 
/usr/local/lib may not be writable. 

我應該怎麼辦?

回答

0

嘗試清理舊自制文件:

brew cleanup 
+0

它的工作原理!謝謝 ;-) – 2013-05-01 02:29:24