Skip to content
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 building: conn.setSession undefined (type *Conn has no field or method setSession) #72

Open
funkenstrahlen opened this issue Mar 1, 2017 · 1 comment

Comments

@funkenstrahlen
Copy link

I have a problem building mongodb using linuxbrew. It crashes when it tries to build this module.

Building bsondump...
# github.com/spacemonkeygo/openssl
vendor/src/github.com/spacemonkeygo/openssl/net.go:121: conn.setSession undefined (type *Conn has no field or method setSession)
vendor/src/github.com/spacemonkeygo/openssl/net.go:128: conn.SetTlsExtHostName undefined (type *Conn has no field or method SetTlsExtHostName)

Do you have any idea what's causing the problem?

See this related issue for full log: https://github.com/Linuxbrew/homebrew-core/issues/1892

@zeebo
Copy link
Member

zeebo commented Mar 3, 2017

Maybe the downstream people who stuck the code in the vendor folder missed some updated files? The conn.setSession method was added in 4d3c3b1, but SetTlsExtHostName was there from the first time we open sourced it.

Perhaps they've made some changes? I honestly don't know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants