I'll try in a fresh vm, but it was just an ubuntu saucy vagrant vm and I'm pretty sure I just ran configure make install for libgit2 and then got link errors. Nothing special.