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

error "Invalid libgit2 version; this git2go supports libgit2 between v1.2.0 and v1.2.0" #839

Closed
yermulnik opened this issue Oct 14, 2021 · 4 comments

Comments

@yermulnik
Copy link

I'm trying to build/install another project which depends on git2go: mergestat/mergestat-lite#197
And it looks like latest git2go doesn't support latest libgit2:

[…]
# github.com/libgit2/git2go/v32
/home/giermulnik/.cache/Homebrew/go_mod_cache/pkg/mod/github.com/libgit2/git2go/v32@v32.0.4/Build_system_dynamic.go:12:3: error: #error "Invalid libgit2 version; this git2go supports libgit2 between v1.2.0 and v1.2.0"
   12 | # error "Invalid libgit2 version; this git2go supports libgit2 between v1.2.0 and v1.2.0"
      |   ^~~~~

[…]

Any clue on how do I overcome/fix this issue?
Thanks

@lhchavez
Copy link
Contributor

lhchavez commented Oct 14, 2021

dupe of #834

edit: that's not true!

@lhchavez
Copy link
Contributor

oh i completely missed the 1.3.0 release 🤦‍♂️ . we'll create a new release soon.

@lhchavez lhchavez reopened this Oct 14, 2021
@yermulnik
Copy link
Author

@lhchavez Thanks!

@lhchavez
Copy link
Contributor

#840 and https://pkg.go.dev/github.com/libgit2/git2go/v33 🎉

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

2 participants