traildb-go
traildb-go copied to clipboard
Go bindings for TrailDB
After installation traildb with brew, traildb-go does not build with error: ``` brew install traildb brew install traildb/judy/judy libarchive pkg-config ``` ``` # github.com/traildb/traildb-go ../../../../../github.com/traildb/traildb-go/tdb.go:6:10: fatal error: 'traildb.h' file not...
When build golang code which uses traildb-go, it throws `signal: killed` and exit. Appered that this is [bug in golang](https://github.com/golang/go/issues/19734) before 1.8.1 version. To workaround it one needs to build...
Code to reproduce: ``` cons, err := tdb.NewTrailDBConstructor("test", "first_field") ``` Output: ``` SIGABRT: abort PC=0x7fff9a04ed42 m=0 signal arrived during cgo execution goroutine 19 [syscall, locked to thread]: runtime.cgocall(0x41fe740, 0xc420022e00, 0xc400000000)...
When I'm trying to build this package, I get this: ``` works/src/github.com/traildb/traildb-go/tdb.go:145: cannot use cons.valuePtr (type unsafe.Pointer) as type **C.char in argument to func literal works/src/github.com/traildb/traildb-go/tdb.go:564: cannot use mcursor.mevent_buffer_ptr (type...