bat
bat copied to clipboard
Missing Required Dependency openssl
What steps will reproduce the bug?
- brew install bat macOS Sonoma Version 14.2 M1 Mac
What happens? When calling brew install bat I get the error
dyld[35880]: Library not loaded: /opt/homebrew/opt/openssl@3/lib/libssl.3.dylib Referenced from: <E1B0BE08-E214-3452-9F52-E5CF1FF65B22> /opt/homebrew/Cellar/libgit2/1.7.2/lib/libgit2.1.7.2.dylib Reason: tried: '/opt/homebrew/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/openssl@3/lib/libssl.3.dylib' (no such file), '/opt/homebrew/opt/openssl@3/lib/libssl.3.dylib' (no such file) [1] 35880 abort bat
What did you expect to happen instead? Bat to be normally installed
How did you install bat?
brew install bat
bat version and environment
Proposal to fix
Add brew install openssl as a dependency and update documentation here
https://formulae.brew.sh/formula/bat
I would like to contribute if I can.
Hey @TyronSamaroo ,
Based on the logs you provided, it looks like Homebrew isn't properly installing openssl as a dependency of libgit2.
The bat maintainers unfortunately do not maintain the packages provided by distro package managers like Homebrew. You would need to open an issue at Homebrew/core to get in contact with the maintainers for the Homebrew-packaged version of bat.
The formulae (package definition files) involved are: