Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Required Dependency openssl #2862

Open
TyronSamaroo opened this issue Feb 16, 2024 · 1 comment
Open

Missing Required Dependency openssl #2862

TyronSamaroo opened this issue Feb 16, 2024 · 1 comment
Labels
dependencies Pull requests that update a dependency file macOS Issue is related to the macOS build of bat packaging/tooling

Comments

@TyronSamaroo
Copy link

What steps will reproduce the bug?

  1. 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.

@TyronSamaroo TyronSamaroo added the bug Something isn't working label Feb 16, 2024
@eth-p eth-p added packaging/tooling dependencies Pull requests that update a dependency file macOS Issue is related to the macOS build of bat and removed bug Something isn't working labels Feb 17, 2024
@eth-p
Copy link
Collaborator

eth-p commented Feb 17, 2024

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file macOS Issue is related to the macOS build of bat packaging/tooling
Projects
None yet
Development

No branches or pull requests

2 participants