Note: this post contains outdated instructions for a problem that occurred installing .NET core on OSX in 2016. https://github.com/dotnet/sdk/issues/4600 suggests that you can now install dotnet core on macOS by running
brew install dotnet. The instructions at https://learn.microsoft.com/en-us/dotnet/core/install/macos are also worth reading rather than this post.
If you have not already installed Homebrew, install it.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install dotnet using caskroom. This will also automatically install openssl if it’s not already installed.
$ brew update $ brew tap caskroom/cask $ brew cask install dotnet
Note: this will work completely once
merged. Until then, follow the part of instructions that link the 1.0.0 versions
of openssl to your
$ ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/ $ ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
Update 2016-08-18: replaced rpath with linking method (diff)