title: dotnet restore unable to load shared library 'libproc' or one of its dependencies on Mac OS
body: <p>I am following the tutorial for .NET on</p>
  
  <p><a href="https://www.microsoft.com/net/learn/get-started/macos" rel="nofollow noreferrer">https://www.microsoft.com/net/learn/get-started/macos</a></p>
  
  <p>I installed the .NET SDK and create an app by using on macOS High Sierra Version 10.13.5:</p>
  
  <pre><code>~$ dotnet new console -o myApp
  </code></pre>
  
  <p>which gives me an error of:</p>
  
  <pre><code>The template "Console Application" was created successfully.
  
  Processing post-creation actions...
  Running 'dotnet restore' on myApp/myApp.csproj...
  Unable to load shared library 'libproc' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES 
  environment variable: dlopen(liblibproc, 1): image not found
  </code></pre>
  
  <p>I tried to do</p>
  
  <pre><code>export DYLD_PRINT_LIBRARIES=/usr/lib/
  </code></pre>
  
  <p>before deleting the created folder and files, and I get a lot of printed statements that look like:</p>
  
  <pre><code>dyld: loaded: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/2.1.1/System.IO.Compression.Native.dylib
  </code></pre>
  
  <p>as well as the same error:</p>
  
  <pre><code>The template "Console Application" was created successfully.
  
  Processing post-creation actions...
  Running 'dotnet restore' on myApp/myApp.csproj...
  Unable to load shared library 'libproc' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES 
  environment variable: dlopen(liblibproc, 1): image not found
  </code></pre>