spacemonkeygo / openssl

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

Undefined reference to EVP_sha #86

Open superchalupa opened 6 years ago

superchalupa commented 6 years ago

/tmp/go-build226287687/github.com/superchalupa/go-redfish/vendor/github.com/spacemonkeygo/openssl/_obj/shim.o: In function X_EVP_sha': vendor/github.com/spacemonkeygo/openssl/shim.c:258: undefined reference toEVP_sha'

I had to #if 0 out these couple of lines to get it to compile. After that, everything worked ok (Didn't test anything related to EVP_sha, so that probably doesnt work.)

Cross compiled for ARM and openssl 1.0.2j