亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

拒絕鏈接OpenSSL的自制軟件

拒絕鏈接OpenSSL的自制軟件

汪汪一只貓 2019-06-21 15:26:50
拒絕鏈接OpenSSL的自制軟件我在:OSX 10.11.6,國產版0.990萬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/
查看完整描述

3 回答

  • 3 回答
  • 0 關注
  • 747 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號