The error i get :
Up-to-date vibe-d 0.9.8: target for configuration [library] is up to date.
Building t ~master: building configuration [application]
Linking t
ld: error: undefined symbol: SSL_get_peer_certificate
>>> referenced by openssl.d:373 (../../.dub/packages/vibe-d/0.9.8/vibe-d/tls/vibe/stream/openssl.d:373)
>>> vibe.stream.openssl.o:(_D4vibe6stream7openssl13OpenSSLStream6__ctorMFNfSQBv8internal14interfaceproxy__T14InterfaceProxyTCQDs4coreQDv6StreamZQBlCQEpQEnQEj14OpenSSLContextEQFpQFn3tls14TLSStreamStateAyaSQGtQDb3net14NetworkAddressAQBfZ10__lambda18MFNbNeZPS6deimosQIo5types7x509_st) in archive ../../.dub/cache/vibe-d/0.9.8/+tls/build/openssl-debug-9dGb-exFDe8I4hbczCzDag/libvibe-d_tls.a
>>> did you mean: SSL_get0_peer_certificate
>>> defined in: /usr/lib/libssl.so
ld: error: undefined symbol: ERR_put_error
>>> referenced by openssl.d:1488 (../../.dub/packages/vibe-d/0.9.8/vibe-d/tls/vibe/stream/openssl.d:1488)
>>> vibe.stream.openssl.o:(_D4vibe6stream7openssl11setSSLErrorFNbNeAyaQdiQgZv) in archive ../../.dub/cache/vibe-d/0.9.8/+tls/build/openssl-debug-9dGb-exFDe8I4hbczCzDag/libvibe-d_tls.a
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Error: /usr/local/bin/clang failed with status: 1
Error ldc2 failed with exit code 1.
HOST:x: /home/x/test/t:>
As default version of openssl i use on FreeBSD:
DEFAULT_VERSIONS+= ssl=openssl111