Skip to content

Build error alpine linux #37

Description

@pwFoo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions