spacemonkeygo / openssl

OpenSSL bindings for Go
http://godoc.org/github.com/spacemonkeygo/openssl
Apache License 2.0
473 stars 236 forks source link

Couldn't build linux binary on windows #145

Open hellochenwang opened 3 years ago

hellochenwang commented 3 years ago

windows binary on windows is fine. linux binary on linux is fine.

linux binary on windows gives this error:

# github.com/spacemonkeygo/openssl
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\http.go:38:14: undefined: NewCtxFromFiles
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:24:7: undefined: Ctx
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:32:16: undefined: Server
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:43:43: undefined: Ctx
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:51:41: undefined: Ctx
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:79:38: undefined: Ctx
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:79:62: undefined: Conn
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:96:45: undefined: Ctx
C:\Users\User\go\pkg\mod\github.com\spacemonkeygo\openssl@v0.0.0-20181017203307-c2dcc5cca94a\net.go:97:20: undefined: Conn
HorizonChaser commented 1 year ago

Have you solved this problem? I'm facing the same error too 😢

rodrigorodriguescosta commented 1 year ago

same issue here

Rowansdabomb commented 11 months ago

Same issue

paulscalise1 commented 6 days ago

Does anyone have a solution for this?

rodrigorodriguescosta commented 6 days ago

no solution, this library is abandoned, the only way to make it works is using Ubuntu 20.04, this is what I did, it doesn't work on windows