我在: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 …Run Code Online (Sandbox Code Playgroud) 注意:我不太擅长使用shell.
我试图在Yosemite 上安装Valgrind使用brew.
brew install --HEAD valgrind
接近尾声时,我遇到了与链接有关的错误,所以当我尝试重新安装时,我得到了:
警告:valgrind-HEAD已经安装,它只是没有链接
显然我已经安装了它.然后基于其他SO问题和答案,我试过:
brew link valgrind
这似乎解决了其他人链接已安装的软件的问题,但这给了我一个错误:
Linking /usr/local/Cellar/valgrind/HEAD...
Error: Could not symlink lib/pkgconfig/valgrind.pc
/usr/local/lib/pkgconfig is not writable.
Run Code Online (Sandbox Code Playgroud)
我也试图更新,brew但它没有解决问题.如果它不可写,也许sudo会给我许可,但我不想在sudo不知道我在做什么的情况下使用.
发生了什么以及如何解决它?
当我尝试运行包含envsubst命令的脚本时,我收到此错误.在线查看,这似乎是一个标准的bash命令,所以我不知道要安装什么才能让它工作.