I pulled from master on OpenBLAS (no changes because I had downloaded yesterday) and did a clean install. I pulled from Lapack master. Deleted $GOPATH/pkg.
Still same problems.
It does appear that it's just the *_work routines. Small excerpt:
"_LAPACKE_dormhr_work", referenced from:
__cgo_836158d91a5b_Cfunc_LAPACKE_dormhr_work in clapack.cgo2.o
(maybe you meant: __cgo_836158d91a5b_Cfunc_LAPACKE_dormhr_work)
"_LAPACKE_dormlq_work", referenced from:
__cgo_836158d91a5b_Cfunc_LAPACKE_dormlq_work in clapack.cgo2.o
(maybe you meant: __cgo_836158d91a5b_Cfunc_LAPACKE_dormlq_work)
"_LAPACKE_dormql_work", referenced from:
__cgo_836158d91a5b_Cfunc_LAPACKE_dormql_work in clapack.cgo2.o
(maybe you meant: __cgo_836158d91a5b_Cfunc_LAPACKE_dormql_work)
The error is somewhat strange. It's suggesting "maybe you meant" that's the same as the one it can't find. (side note: this is why I hate linkers, this kind of cryptic error message that's hard to search for). It must be something with the way cgo works on OSX, right? The routines must be exported, otherwise you all wouldn't be able to see them -- we're using the same repository. I've also been experiencing
https://github.com/golang/go/issues/16129 which is possibly related.