[vibe-d/dub] Lin

Martin Tschierschke mt at smartdolphin.de
Mon Sep 10 06:35:20 UTC 2018


On Friday, 7 September 2018 at 16:37:18 UTC, MamoKupe wrote:
> On Friday, 7 September 2018 at 16:20:40 UTC, MamoKupe wrote:
>> marcinan at marcinan-PC ~/Pulpit/d $ dub init bibe
>> Package recipe format (sdl/json) [json]: d
>> Invalid format, "d", enter either "sdl" or "json".
>> Package recipe format (sdl/json) [json]:
>> Name [bibe]:
>> Description [A minimal D application.]:
>> Author name [Marcin]:
>> License [proprietary]:
>> Copyright string [Copyright © 2018, Marcin]:
>> Add dependency (leave empty to skip) []: vibe-d
>> Added dependency vibe-d ~>0.8.4
> ....
>> /usr/bin/ld: cannot find -lssl
>> /usr/bin/ld: cannot find -lcrypto
>> collect2: error: ld returned 1 exit status
>> Error: linker exited with status 1
>> /usr/bin/dmd failed with exit code 1.
>>
>> On linux Mint with DUB version 1.11.0, built on Sep  1 2018
>
>
> sudo apt-get install libssl-dev
>
> Solved linking problem for now.

Yes, but this should be detected by dub before compilation as a 
missing dependency not after.
Someone told, that is is possible by adding the right params to 
dub.sdl/.json.
As an traditional error most "lets try vibe.d"-people see, I 
would like to ask for changing this.

Regards mt.


More information about the Digitalmars-d-learn mailing list