OSX 10.11.6, Homebrew 버전 0.9.9m OpenSSL 0.9.8zg 2015 년 7 월 14 일
나는 dotnetcore를 가지고 놀고 그들의 지시 에 따라 노력하고 있습니다 .
최신 버전의 openssl을 업그레이드 / 설치했습니다.
> brew install openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2h_1.el_capitan.bottle.tar.gz
Already downloaded: /Users/administrator/Library/Caches/Homebrew/openssl-1.0.2h_1.el_capitan.bottle.tar.gz
==> Pouring openssl-1.0.2h_1.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
그러나 openssl을 연결하려고하면이 연결 오류가 계속 발생합니다.
> brew link --force openssl
Warning: Refusing to link: openssl
Linking keg-only OpenSSL means you may end up linking against the insecure,
deprecated system version while using the headers from the Homebrew version.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
컴파일러 플래그를 포함하는 옵션은 내가 의존하는 라이브러리를 컴파일하지 않기 때문에 의미가 없습니다.
편집 dotnetcore는 감독의 지시를 업데이트했습니다 :
brew update
brew install openssl
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/
brew update
and을 수행했습니다 brew install openssl
. 지원되는 버전을 설치하려고합니다.
brew upgrade openssl
먼저 해야 합니까?