Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.99k stars 11.36k forks source link

Solution of [brew doctor gives me an error "You have an outdated version.." #30136] #34548

Closed TomySpagnoletti closed 9 years ago

TomySpagnoletti commented 9 years ago

Hey, I had an error on my mac when I do "Brew Install",

Warning: You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages.

I found a solution here :

http://www.colinfmurphy.com/how-i-fixed-homebrew-php-complier-error-with-mac-osx-10-9-update/ With this file : http://www.colinfmurphy.com/wp-content/media/2014/06/install_name_tool.zip

And after, in a Terminal : 1 - cd /usr/bin/ 2 - sudo mv install_name_tool install_name_tool_old 3 - sudo cp /Users/USER/Desktop/install_name_tool/install_name_tool /usr/bin/install_name_tool

And TaaaaDaaaaa !!!!!

TomyMacBook-Air:bin Tomy$ brew doctor Your system is ready to brew.

See you :-)

ghost commented 9 years ago

Care to post output of $ brew config?

TomySpagnoletti commented 9 years ago

TomyMacBook-Air:bin Tomy$ brew config HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/Homebrew/homebrew HEAD: 6d39f28ea35d992a914838278b54abf48961293b Last commit: 5 hours ago HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: quad-core 64-bit haswell OS X: 10.9.5-x86_64 Xcode: 6.1 CLT: 6.1.1.0.1.1415683689 Clang: 6.0 build 600 X11: N/A System Ruby: 2.0.0-481 Perl: /usr/bin/perl Python: /usr/bin/python Ruby: /usr/bin/ruby

tdsmith commented 9 years ago

Thanks for the report!