MAC OS BIG SUR 自制软件无法安装 openssl
MAC OS BIG SUR homebrew can not install openssl
我的 macOS 是大苏尔
尝试安装 openssl
brew install openssl
警告:post-安装步骤未成功完成
您可以使用以下方式重试:
酿造post安装openssl@1.1
==> An exception occurred within a child process:
Errno::EINTR: Interrupted system call @ apply2files - /private/tmp/20210702-73435-1yeffpb
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:207:in `unlink'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:207:in `unlink'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:162:in `close'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:168:in `close!'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:156:in `macos_post_install'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/on_os.rb:8:in `on_macos'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:115:in `post_install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1101:in `block (2 levels) in run_post_install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:924:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1100:in `block in run_post_install'
/usr/local/Homebrew/Library/Homebrew/utils.rb:550:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1089:in `run_post_install'
/usr/local/Homebrew/Library/Homebrew/postinstall.rb:22:in `<main>'
大苏尔用户
这是因为MACOS禁用了这个系统调用
您可以在终端
中测试下面命令中的第一个类型
csrutil status
默认启用
你可以按照这个视频关闭它
https://www.youtube.com/watch?v=pekCPQn5fMs
关闭后再次查看可以看到
System Integrity Protection status: disabled.
问题应该解决了
我的 macOS 是大苏尔 尝试安装 openssl
brew install openssl
警告:post-安装步骤未成功完成
您可以使用以下方式重试:
酿造post安装openssl@1.1
==> An exception occurred within a child process:
Errno::EINTR: Interrupted system call @ apply2files - /private/tmp/20210702-73435-1yeffpb
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:207:in `unlink'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:207:in `unlink'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:162:in `close'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb:168:in `close!'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:156:in `macos_post_install'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/on_os.rb:8:in `on_macos'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb:115:in `post_install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1101:in `block (2 levels) in run_post_install'
/usr/local/Homebrew/Library/Homebrew/formula.rb:924:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1100:in `block in run_post_install'
/usr/local/Homebrew/Library/Homebrew/utils.rb:550:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1089:in `run_post_install'
/usr/local/Homebrew/Library/Homebrew/postinstall.rb:22:in `<main>'
大苏尔用户
这是因为MACOS禁用了这个系统调用 您可以在终端
中测试下面命令中的第一个类型csrutil status
默认启用 你可以按照这个视频关闭它
https://www.youtube.com/watch?v=pekCPQn5fMs
关闭后再次查看可以看到
System Integrity Protection status: disabled.
问题应该解决了