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

microsoft-git version 2.44.0.vfs.0.1 is broken on Mac #79

Closed
amrmesbah opened this issue Mar 25, 2024 · 3 comments
Closed

microsoft-git version 2.44.0.vfs.0.1 is broken on Mac #79

amrmesbah opened this issue Mar 25, 2024 · 3 comments
Assignees

Comments

@amrmesbah
Copy link

microsoft-git was updated on 3/22 to version 2.44.0.vfs.0.1 which seem to be broken on Mac. After updating git checkout and push fails with the following error message:

% git push
dyld[73077]: Library not loaded: /opt/homebrew/opt/curl/lib/libcurl.4.dylib
Referenced from: <7651D6CC-F49C-3D98-936F-6A41E9C2DCEE> /usr/local/git/libexec/git-core/git-remote-https
Reason: tried: ‘/opt/homebrew/opt/curl/lib/libcurl.4.dylib’ (no such file), ‘/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/curl/lib/libcurl.4.dylib’ (no such file), ‘/opt/homebrew/opt/curl/lib/libcurl.4.dylib’ (no such file)
error: git-remote-https died of signal 6

Curl is explicitly distributed as a keg in brew and calls out the caveat that it can conflict with the version of curl that comes with the OS.

There is no need for git to take a dependency on brew’s curl; we used the install_name_tool to hack the reference back to /usr/lib/libcurl.4.dylib and it works fine.

@eschwieb
Copy link

See also microsoft/git#634

@jeffhostetler
Copy link
Contributor

@amrmesbah @eschwieb

I have a RC preview release to address this.
https://github.com/microsoft/git/releases/tag/v2.44.0.vfs.0.2.rc0
Please give this a try.

This version does not use Homebrew.

@jeffhostetler jeffhostetler self-assigned this Mar 26, 2024
@jeffhostetler
Copy link
Contributor

I have published v2.44.0.vfs.0.2 which addresses the problem. Please try this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants