安裝suricata報錯:
configure: error: pcre.h not found ...
解決:
brew install pcre
找到這個文件的地址
brew list pcre | grep 'pcre.h$'
/opt/homebrew/Cellar/pcre/8.45/include/pcre.h
程序搜索的地址
cpp -v
/Library/Developer/CommandLineTools/usr/include # 這個地址
brew 安裝地址和程序搜索地址不一樣,所以需要軟鏈過去
sudo ln -s /opt/homebrew/Cellar/pcre/8.45/include/pcre.h /Library/Developer/CommandLineTools/usr/include