-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on build on OSX #1
Comments
Hello! Thank you for reporting this problem. Due to recent thread safety related patch to Normally this would not be a problem because many developers have OpenSSL installed. But it seems you are using an older version of OpenSSL which does not have
|
I've updated the README to add CGO_CFLAGS environment variable. Can you try it out and see if it works? Thanks! |
[A Google search](devsisters/gospdyquic#1 (comment)) suggests that the problem is that Mac OSX OpenSSL headers are broken.
Could you help me out.
The build script is being run and i get this error.
Here is the terminal:
devsisters apple$ CGO_LDFLAGS="-L$GOPATH/src/github.com/devsisters/goquic/lib/darwin_amd64" go build $GOPATH/src/github.com/devsisters/gospdyquic/example/server.go
github.com/devsisters/goquic
goquic/init.go:10:30: error: unknown type name 'CRYPTO_THREADID'
extern void goquic_thread_id(CRYPTO_THREADID *id);
^
1 error generated.
BTW the path on the readme is wrong. Is missing the "src" before /github.com/....
The text was updated successfully, but these errors were encountered: