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

Build error alpine linux #37

Open
pwFoo opened this issue Jul 26, 2019 · 3 comments
Open

Build error alpine linux #37

pwFoo opened this issue Jul 26, 2019 · 3 comments

Comments

@pwFoo
Copy link

pwFoo commented Jul 26, 2019

I have a build error and don't know how to fix it. lgit2 seems to be missing?

[ 95%] Linking C executable /mnt/simplegit/bin/sgit
/usr/lib/gcc/x86_64-alpine-linux-musl/8.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lgit2
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/sgit-bin.dir/build.make:85: /mnt/simplegit/bin/sgit] Error 1
make[3]: Leaving directory '/mnt/simplegit/build'
make[2]: *** [CMakeFiles/Makefile2:142: CMakeFiles/sgit-bin.dir/all] Error 2
make[2]: Leaving directory '/mnt/simplegit/build'
make[1]: *** [Makefile:95: all] Error 2
make[1]: Leaving directory '/mnt/simplegit/build'
make: *** [Makefile:16: main] Error 2
@pwFoo
Copy link
Author

pwFoo commented Jul 26, 2019

@sba1
should simplegit still work or is it outdated?

@sba1
Copy link
Owner

sba1 commented Jul 29, 2019 via email

@tpimh
Copy link

tpimh commented Aug 28, 2019

I'm using the latest libgit2 and linking simplegit against it, it works.

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