You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
(r1=<optimized out>) at _cgo_gotypes.go:1018
1018 _cgo_gotypes.go: No such file or directory.
Any idea on how to resolve this? (i am not that familiar with the workings of cgo)
The text was updated successfully, but these errors were encountered:
@qmuntal is more of a cgo expert than me, but I think these questions will help get this going:
Can you show the output of go env so we can get an idea of what OS/ARCH/Go version you're using?
What command do you run to build your project?
Why are you copying the library's source code into your project?
This is a little unusual: normally you'd have your Go module depend on this one (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)
The text was updated successfully, but these errors were encountered: