https://bugs.winehq.org/show_bug.cgi?id=55555
--- Comment #5 from Hans Leidekker hans@meelstraat.net --- (In reply to RĂ©mi Bernon from comment #3)
I've fixed this on my side. Kerberos was installed with brew install krb5 but:
- That was not enough for it to be found by configure, and I had to add its
/usr/local/Cellar/krb5/<version>/lib/pkgconfig path to PKG_CONFIG_PATH manually.
brew suggests to use the symlink: /usr/local/opt/krb5/lib/pkgconfig
- That was not enough for it to be found at runtime, and I had to add its
/usr/local/Cellar/krb5/<version>/lib path to DYLD_LIBRARY_PATH manually.
Same here.
Maybe an issue with the homebrew env not being setup correctly, or just it is expected to do so.
It's on purpose. Homebrew wants to avoid conflicts with native versions of the library, although I can't find them on Big Sur. Mojave does have them.
FWIW, MacPorts doesn't have this issue.