Anytime I'm try to install something git dependent (homebrew for example) I get this error:
> Incompatible library version: git requires version 8.0.0 or later, but
> libiconv.2.dylib provides version 7.0.0
I've reinstalled git and xcode but the error keeps being thrown. I don't have macports installed.
Anyone have ideas on how to solve?
Related
Am trying to install Ruby on MacBook M1 but it failed every time,
Command used: rvm install ruby 2.7.2 (none of the version worked)
Error running '__rvm_make install',
please read /Users/myName/.rvm/log/1641910054_ruby-2.7.2/install.log
There has been an error while running make install. Halting the installation.
And after checking logs, I found
*** Following extensions are not compiled:
gdbm:
Could not be configured. It will not be installed.
Check ext/gdbm/mkmf.log for more details.
openssl:
Could not be configured. It will not be installed.
Check ext/openssl/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want.
I have also tried other version managers like asdf but no luck.
Background: HomeBrew installed successfully, paths also set, rvm also installed. Command line tools for Xcode also installed, using latest version of Xcode 13.2.1 and latest macOS Monterey 12.1.
I think maybe rvm just doesnt work properly on m1 yet? Try just using brew install ruby for now. It should work the same.
I have an older version of phantomjs:
phantomjs -v
2.0.0
I update the list:
$ brew update
Already up-to-date.
Then I try to upgrade phantomjs to latest version 2.1.1:
$ brew upgrade phantomjs
Error: Your Xcode (8.3.3) is too outdated.
And the error:
Error: Your Xcode (8.3.3) is too outdated. Please update to Xcode 9.4
(or delete it). Xcode can be updated from the App Store.
Why do I need to update Xcode in order to upgrade phantomjs to version 2.1.1?
Because it needs to compile the C and C++ in phantomjs. Homebrew requires a recent version of Xcode, along with recent macOS SDKs that come with Xcode, to do that.
I am getting the following error when upgrading brew packages
Error: Your Xcode (8.3.3) is too outdated.
Please update to Xcode 9.0 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/
Since I am using the beta osx version
High Sierra
System Version: macOS 10.13
Kernel Version: Darwin 17.0.0
It seems like I have to upgrade the beta Xcode version (Xcode 9) too, which I have downloaded and installed successfully from apple website https://developer.apple.com/xcode/
Now, my question is how do I switch the Xcode version on my mac so that brew command uses the newly installed Xcode.
When I run xcodebuild -version I am getting the following output (installed from App store)
Xcode 8.3.3
Build version 8E3004b
whereas the beta version I have downloaded is from the apple website directly shows 9.0 beta 6
Since Xcode is downloaded from the website the full command to switch is the following (considering you've moved the app to the application folder)
sudo xcode-select --switch /Applications/Xcode-beta.app
I had to reinstall brew:
Uninstall it:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Then you can install it again:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
when running curl via Terminal, I get the following error:
dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
Referenced from: /opt/local/bin/curl
Reason: image not found
Abort trap: 6
I installed the latest version of Xcode and even "brew install curl" but neither helped. any ideas what is going on??
(OS Sierra)
The issue is that the version of curl installed is incomplete. It appears that it's one installed from MacPorts, since /opt/local/bin/curl is the normal location of where it installs.
The native Apple version is in /usr/bin.
You can either uninstall or reinstall the MacPorts version:
sudo port install curl
or to uninstall
sudo port uninstall curl
↳ MacPorts Common Tasks
How do I uninstall geos in mac osx
When i do
sudo uninstall geos
I get this error
Uninstall Began...
Uninstall Failed...
Reason: ErrorMissingBundle
I have to uninstall it propely because I need to install a newer version . When I installed a newer version even the it shows
geos-config --version
3.1.1
It was present somewhere in my system. Installation for a new one was successful for some features of postgis is not working and and they are picking up 3.1.1 geos.
I will thankful if someone helps me out here.