I know this is not a common thing so here goes nothing. Apparently the change below broke Windows apps when running under Wine as it made bcryptprimitives.dll a hard requirement now and this dll is not bundled with Wine. This is true even for programs that do not use it all (like a simple "hello world" program).
https://github.com/golang/go/commit/693def151adff1af707d82d28f55dba81ceb08e1 Here is what I see: bga@rincewind:~$ cat hello.go package main import "fmt" func main() { fmt.Println("Hello World!") } bga@rincewind:~$ GOOS=windows go build hello.go bga@rincewind:~$ wine hello.exe fatal error: bcryptprimitives.dll not found runtime: panic before malloc heap initialized wine: Unhandled page fault on execute access to 0000000000000000 at address 0000000000000000 (thread 0108), starting debugger... [...] This is with go 1.21.5. It works fine with go 1.21.4 (there is no such requirement in this version). -Bruno -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEd86TzZWke%2BJ_U6KCrwYsxrqMr9Wta_eLtW_3XBY32GYRYH_g%40mail.gmail.com.