On Friday, 28 July 2023 at 08:56:17 UTC, Guillaume Lathoud wrote:
Hello, some context first:

I recently updated a server to Ubuntu 22.04 which appears to have only openssl 3.0.2 installed. Dub could compile my project, but could not link it anymore, as the D code seemed to be expecting openssl 1.1 whereas only 3.0.2 was installed. That type of errors:
```
/usr/bin/ld: ...../vibe-d-0.9.6/vibe-d/tls/vibe/stream/openssl.d:370: undefined reference to `SSL_get_peer_certificate' /usr/bin/ld: ...../vibe-d-0.9.6/vibe-d/tls/vibe/stream/openssl.d:1485: undefined reference to `ERR_put_error'
collect2: error: ld returned 1 exit status
```
I tried various things, including all possible `subConfiguration` values for `vibe-d:tls`, and ended up:

[...]

Did you ever get this problem resolved? I have just found the same issue and cannot get vibe.d to compile cleanly - it reports "Invalid variable: DC" when trying to compile "openssl-static": "1.0.2+3.0.8",

Reply via email to