Open Smoderin opened 1 year ago
@qmuntal is more of a cgo expert than me, but I think these questions will help get this going:
go env
so we can get an idea of what OS/ARCH/Go version you're using?github.com/microsoft/go-crypto-openssl/openssl
), and use go mod vendor
if you need to store the source code locally. This makes it easier to update and keep track of your dependency.
I am trying to use the library in my project, the folder structure looks roughly like this:
When trying to run tests from inside the library package, everything works fine, but when i try to build from inside my project and execute it, it fails with a
SIGSEG
.I tried to see what's going on with gdb, it looks like i am missing the cgo types definitions for some reason:
Any idea on how to resolve this? (i am not that familiar with the workings of cgo)