curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection
【摘要】
使用HomeBrew安装PHP的时候报错:
$ brew install php@8.0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in co...
使用HomeBrew安装PHP的时候报错:
$ brew install php@8.0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.bytereef.org:443
Error: php@8.0: Failed to download resource "python@3.9--patch"
Download failed: https://www.bytereef.org/contrib/decimal.diff
- 1
- 2
- 3
- 4
处理方式
手动下载软件包到缓存目录
# 查看缓存目录
$ brew --cache
/Users/user/Library/Caches/Homebrew
# 查看详细日志
$ brew install php@8.0 -v
Downloading https://www.bytereef.org/contrib/decimal.diff
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl
--disable
--cookie /dev/null
--globoff --show-error
--user-agent Homebrew/3.5.2-156-gf1d04b4\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.4\)\ curl/7.54.0
--header Accept-Language:\ en
--fail
--retry 3
--location
--remote-time
--output /Users/user/Library/Caches/Homebrew/downloads/f60b5004541eb3c87cce87ef3bf94933a2684ab267346afdc45ae1622ffa923a--decimal.diff.incomplete
https://www.bytereef.org/contrib/decimal.diff
# 手动下载到缓存目录
wget https://www.bytereef.org/contrib/decimal.diff \
-O /Users/user/Library/Caches/Homebrew/downloads/f60b5004541eb3c87cce87ef3bf94933a2684ab267346afdc45ae1622ffa923a--decimal.diff
# 再次安装的时候就可以使用本地缓存
brew install php@8.0 -v
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
文章来源: pengshiyu.blog.csdn.net,作者:彭世瑜,版权归原作者所有,如需转载,请联系作者。
原文链接:pengshiyu.blog.csdn.net/article/details/125469167
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)