Tuesday, 15 February 2011

go - Homebrew Issue with bundled libgit2 and git2go -



go - Homebrew Issue with bundled libgit2 and git2go -

i have go application trying distribute using homebrew. when compiling without homebrew works expected. when using homebrew compile error.

compile error:

cannot load dwarf output $work/github.com/libgit2/git2go/_obj//_cgo_.o: decoding dwarf section info @ offset 0x0: short

this can replicated building repo (which uses libgit2) on mac homebrew using:

$ brew install jwaldrip/utils/git-get -v --head

the formula can viewed at: https://github.com/jwaldrip/homebrew-utils/blob/master/git-get.rb

the makefile formula uses at: https://github.com/jwaldrip/git-get/blob/master/makefile

go homebrew libgit2

No comments:

Post a Comment