Error on dub build - Trying Vibe-d for the first time

Steven Schveighoffer schveiguy at gmail.com
Wed Oct 14 01:32:34 UTC 2020


On 10/13/20 8:40 PM, Bruno Rodrigues wrote:
> So, I tried building a simple hello world with Vibe-d and got this error
> 
>> /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.
> 
> I have absolutely no ideia what these libraries are.
> 
> I'm using linux 20.04
> 
> The project was created with dub the same way the dependency was added.
> 
> Thanks, this language seems to be really interesting.

sudo apt-get install libssl-dev

That should get you running.

-Steve


More information about the Digitalmars-d-learn mailing list