2016-08-18 3 views
0

Mac OS X (El Capitan 10.11)에서 .NET 코어 설치에 문제가 있습니다. 일반적으로, 나는 MS documentation 말했듯이 모든 것을했지만 내가 설치를 (DOTNET 신규) 나는 오류가 테스트려고 할 때 :Mac OS X에서 .NET 코어 설치

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.

내가 즉, 수동 프로세스를 통해 .NET의 핵심을 배포하려고 다운로드 한 모든 Git의 패키지에 Homebrew를 통해 필수 라이브러리 (예 : openssl)를 설치하고 컴파일을 시작하십시오. Coreclr 잘 컴파일,하지만 corefx 내가 자동 설치를받은 것과 유사한 오류를 제공합니다 : 나는이 운에 대한 해결 방안 구금을 통해 보았다

In file included from /usr/local/git/corefx/src/Native/Unix/System.Security.Cryptography.Native/pal_ecdsa.cpp:5: /usr/local/git/corefx/src/Native/Unix/System.Security.Cryptography.Native/pal_ecdsa.h:7:10: fatal error: 'openssl/ecdsa.h' file not found

include

^make[2]: *** [System.Security.Cryptography.Native/CMakeFiles/System.Security.Cryptography.Native.dir/pal_bignum.cpp.o] 

Error 1

. 한 가지를 얻을 수 없습니다 ... openssl lib가 더 이상 사용되지 않는 이유는 분명히 잘 알려진 곳에서 많은 고통을 불러 일으키는 이유는 무엇입니까? 아무도 내가 위에서 설명한 문제가있는 Mac에서 .NET 코어를 실행할 수 없었습니까?

답변

0

잠시 후 모든 것을 처음부터 다시 설치하기로 결정했습니다. dotnetfx 소스를 사용하여 git repo를 삭제하고 'lib'및 'opts'폴더 ('openssl')를 삭제하고 Cellar 폴더 ('openssl'이 상주하는 폴더)를 삭제했습니다. 이 모든 작업을 마치면 새로운 설치를 시작했으며 official resource에 게시 된 지침을 따랐습니다. 이번에는 모두 배포되어 매력적으로 작동합니다.