Error on dub build - Trying Vibe-d for the first time
Bruno Rodrigues
bruno.sushirod at gmail.com
Wed Oct 14 13:20:53 UTC 2020
On Wednesday, 14 October 2020 at 01:32:34 UTC, Steven
Schveighoffer wrote:
> 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
Thank you, Steve!
It did work but none of the examples on the Vibe.d page are
working with current D version...
Some errors I got
When executing with dub
> [main(----) INF] Listening for requests on http://[::]:8080/
> Failed to listen on 0.0.0.0:8080
> Hello, World: /
> Warning (thread: main): leaking eventcore driver because there
> are still active handles
> FD 6 (streamListen)
> FD 9 (streamSocket)
>
>Warning (thread: main): leaking eventcore driver because there
>are still active handles
> FD 6 (streamListen)
> FD 9 (streamSocket)
When compiling (dub, dub build or dub build --force), I got a lot
of deprecation errors
> /usr/include/dmd/phobos/std/format.d(3648,26): Deprecation:
> function std.typecons.Nullable!(Alternate).Nullable.get_ is
> deprecated - Implicit conversion with alias Nullable.get this
> will be removed after 2.096. Please use .get explicitly.
More information about the Digitalmars-d-learn
mailing list