Closed ElijahLynn closed 2 years ago
I had also tried with #openssl = { version = "0.10", features = ["vendored"] }
(which is why it is commented out, but am getting a segmentation fault (see https://github.com/naftulikay/rust-openssl-static-example/issues/5#issuecomment-1145998505) after a minute or two of 20-30 users running with the static binary.
It seems you're running into this general problem: https://stackoverflow.com/questions/2725255/create-statically-linked-binary-that-uses-getaddrinfo
@ElijahLynn I don't see any way to solve this. There does not seem to be any useful way to statically link the Goose binary. Sorry -- please re-open if you have ideas for how it can be fixed.
I followed https://book.goose.rs/config/rustls.html?highlight=rust-tls#rustls and am trying to statically compile a Linux target and getting this error. And here is my Cargo.toml too: