ERROR: Package libgit2 not found

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun Nov 9 15:16:32 PST 2014


On Sun, 9 Nov 2014, Dirk Hohndel wrote:
> > On Nov 9, 2014, at 1:37 PM, Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com> wrote:
> >
> > There's even a bug files against libgit2-dev:
> >
> > 	https://bugs.debian.org/768482
> >
> > Nevertheless:
> >
> > ,----
> > | $ qmake
> > | Project ERROR: Package libgit2 not found
> > `----
> >
> > is still confusing.
>
> I agree. I’m not quite sure what to do about this. Do you have a
> suggestion for a patch that would fix the problem, Cristian?

I wish I had...  Oh well, at least we now know what the problem is and
how to work around it.  People with better knowledge of pkg-config
might have some idea.  /usr/lib/x86_64-linux-gnu/pkgconfig/libgit2.pc
looks like this on my box:

,----
| libdir=/usr/lib/x86_64-linux-gnu
| includedir=/usr/include
|
| Name: libgit2
| Description: The git library, take 2
| Version: 0.21.2
| Requires.private:  openssl zlib libssh2
| Libs.private:  -lhttp_parser -lrt
| Libs: -L${libdir} -lgit2
| Cflags: -I${includedir}
`----

What does that file show on other distributions?


Cheers,

-- 
Cristian


More information about the subsurface mailing list