DMD, Vibe.d, and Dub

Seb seb at wilzba.ch
Wed Jul 18 15:53:57 UTC 2018


On Wednesday, 18 July 2018 at 15:21:29 UTC, Russel Winder wrote:
> On Wed, 2018-07-18 at 14:20 +0000, Seb via Digitalmars-d wrote:
>> On Wednesday, 18 July 2018 at 12:56:05 UTC, Russel Winder 
>> wrote:
>> > [...]
>> 
>> You have openssl 1.1 installed, but vibe.d tries to link with 
>> openssl 1.0 by default.
>> 
>> See 
>> https://github.com/vibe-d/vibe.d#switching-between-openssl-versions
>> 
>> tl;dr: use
>> 
>> dub --override-config vibe-d:tls/openssl-1.1
>
> I went for the:
>
> dependency "vibe-d:tls" version="*"
> subConfiguration "vibe-d:tls" "openssl-1.1"
>
> in the dub.sdl file. I now have a build.
>
> I believe 1.1 should be the default if available, falling back 
> to 1.0, 0.9,…

Of course, but it's not that easy, because dub doesn't support 
such a detection.
However, we can hack it:

https://github.com/vibe-d/vibe.d/pull/2190


More information about the Digitalmars-d mailing list