我想从命令行使用 tshark。我一直在 Mac OSX (10.15.3) 上使用 Wireshark 应用程序,但tshark在终端中出现错误:
command not found: tshark
我尝试将 tshark 和 tshark.dSYM 文件从应用程序的包内容 ( Wireshark.app/Contents/MacOS/) 移动到/usr/local/bin,因为我在网上找到了一条评论。现在我收到错误:
dyld: Library not loaded: @rpath/libwireshark.13.dylib
Referenced from: /usr/local/bin/tshark
Reason: image not found
zsh: abort tshark
Run Code Online (Sandbox Code Playgroud)
看起来像是进步,但我不确定还需要将哪些其他文件移动到能够从终端运行 tshark 命令的位置?