Is it possible to call a static object (.so) file from Go? I\'ve been searchign Google and I keep hitting upon the claim that I can do
lib, _ := syscall.Load
As @JimB said, you should just use CGO, and put the linking to the dynamic/static library there. as per this example:
// #cgo LDFLAGS: -lpng // #include import "C" ... var x:= C.png_whatever() // whatever the API is
Read more here: http://blog.golang.org/c-go-cgo