Consider using gozk <https://godoc.org/launchpad.net/gozk/zookeeper>, which doesn't require cgo.
On Mon, Aug 22, 2016 at 4:29 PM Prateek Gaur <prtkga...@gmail.com> wrote: > This is a weird interface. Looks like I can reply back only to my message. > Anyway. > > I think your analysis is spot on Ian. All the binaries which depend on > zookeeper are segfaulting whereas others are working fine. > > Zookeeper (zk.go) depends on cgo. I think our toolchain which has the > built zookeeper code is not properly set up. Let me spend some time to > figure out what might be going wrong. > > > On Monday, August 22, 2016 at 12:20:38 PM UTC-7, Prateek Gaur wrote: >> >> In order to use one <https://github.com/emicklei/go-restful> of the go >> packages I updates my golang version from 1.5.2 to 1.7. >> >> But after update my go binaries seem to be segfaulting with following >> output : >> [1] 19583 segmentation fault (core dumped) ./go/bin/<binary name> >> >> The core file gives following bt: >> >> #0 _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:56 >> #1 0x0000000000934624 in get_xid () >> #2 0x000000000093708d in __libc_csu_init () >> #3 0x00007fb238dc571f in __libc_start_main () from >> path/crosstool/v4/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/lib/libc.so.6 >> #4 0x0000000000407f59 in _start () >> >> Do we know what could be causing this problem? >> >> -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.