spacemonkeygo / openssl

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

variable 'writeBioMethod' has initializer but incomplete type #68

Closed cophey closed 7 years ago

cophey commented 7 years ago

./bio.go:40:1: error: variable 'writeBioMethod' has initializer but incomplete type static BIO_METHOD writeBioMethod = { ^ ./bio.go:54:1: error: variable 'readBioMethod' has initializer but incomplete type static BIO_METHOD readBioMethod = { ^

n0syw4llt z w ceh2sfof

What is the problem?Thanks!

zenixls2 commented 7 years ago

what is your openssl version? do you set the correct include path for lib openssl?

cophey commented 7 years ago

Set LD_LIBRARY_PATH,and then it is ok.Thanks.

Trophime commented 6 years ago

@cophey could you be more specific, please? I run into the same issue when trying to rebuild the zesty ubuntu package on Debian/Testing. What shall I put into LD_LIBRARY_PATH (the path to libssl.so)? Thanks

premranderia commented 5 years ago

@Trophime facing the same issue ? Did you resolve it ?