Skip to content

not working with the latest version of libssl-dev on ubuntu 20.04. #4

@shiningw

Description

@shiningw

Hi,
It seems it doesn't work with the latest version of libssl-dev on ubuntu 20.04. How can I resolve this issue? Thank you!

I got the following errors when I tried to build it

vendor/github.com/envimate/nrpe/ssl.go:151:2: could not determine kind of name for C.SSL_library_init
vendor/github.com/envimate/nrpe/ssl.go:152:2: could not determine kind of name for C.SSL_load_error_strings
cgo:
gcc errors for preamble:
vendor/github.com/envimate/nrpe/ssl.go:84:1: error: variable 'goConnBioMethod' has initializer but incomplete type
84 | static BIO_METHOD goConnBioMethod = {
| ^~~~~~
vendor/github.com/envimate/nrpe/ssl.go:84:19: error: storage size of 'goConnBioMethod' isn't known
84 | static BIO_METHOD goConnBioMethod = {

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions