Fix `symbol not found in flat namespace` on macOS Homebrew Python 3 — check library links and reinstall the affected package.