如何修复 Hydra 在 macOS 中无法运行的问题?

如何修复 Hydra 在 macOS 中无法运行的问题?

我已经安装了 hydra brew install hydra

但是当我$ hydra在终端中运行时出现了这个错误。

dyld: Library not loaded: /usr/local/opt/libgcrypt/lib/libgcrypt.20.dylib
Referenced from: /usr/local/bin/hydra
Reason: image not found
Abort trap: 6

我该如何解决?

brew info hydra显示以下结果。

hydra: stable 9.0 (bottled), HEAD Network logon cracker which supports many services https://github.com/vanhauser-thc/thc-hydra /usr/local/Cellar/hydra/9.0_1 (16 files, 1.4MB) * Poured from bottle on 2019-10-13 at 07:55:41 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/hydra.rb ==> Dependencies Build: pkg-config ✔ Required: libssh ✔, mysql-client ✔, [email protected] ✔ ==> Options --HEAD Install HEAD version ==> Analytics install: 2,253 (30 days), 4,829 (90 days), 18,525 (365 days) install_on_request: 2,131 (30 days), 4,562 (90 days), 17,333 (365 days) build_error: 0 (30 days)

答案1

brew install libgcrypt 

为我完成了工作。

相关内容