github.com/piotrnar/gocoin@v0.0.0-20240512203912-faa0448c5e96/lib/others/cgo/openssl/README.md (about) 1 Building 2 ============== 3 4 5 Unix 6 -------------- 7 8 The wrapper should build smoothly, as long as you have libssl-dev installed. 9 10 Just run "go build" and if it gives no errors, you can also try "go test". 11 12 13 14 Windows 15 -------------- 16 17 Use mingw(64) and msys. 18 19 You will need libcrypto.a build for your architecture and the header files. 20 21 Before doing "go build" edit openssl.go and fix the paths to "libcrypto.a" and openssl include dir. 22 23 If you want to build the lib yourself, leek here: 24 * http://stackoverflow.com/questions/9379363/how-to-build-openssl-with-mingw-in-windows#9379476 25 26 > perl Configure mingw64 no-shared no-asm --prefix=/C/OpenSSL-x64