Thread overview
ddox build locally failed
Oct 26, 2019
berni44
Oct 26, 2019
Mitacha
Oct 26, 2019
berni44
October 26, 2019
I tried to build ddox documentation locally with the command (in dlang.org):

make -j3 -f posix.mak apidocs-prerelease

After a while I get the message "Linking..." followed by a call of dmd with lots of parameters, among them -L-lssl and -L-lcrypto. This ends in:

/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto

I'm using debian stable. There are probably some packages missing or maybe a path needs to be set. Any ideas?

October 26, 2019
On Saturday, 26 October 2019 at 16:39:19 UTC, berni44 wrote:
> I tried to build ddox documentation locally with the command (in dlang.org):
>
> make -j3 -f posix.mak apidocs-prerelease
>
> After a while I get the message "Linking..." followed by a call of dmd with lots of parameters, among them -L-lssl and -L-lcrypto. This ends in:
>
> /usr/bin/ld: cannot find -lssl
> /usr/bin/ld: cannot find -lcrypto
>
> I'm using debian stable. There are probably some packages missing or maybe a path needs to be set. Any ideas?

It looks like your missing dev dependencies for ssl. Try

sudo apt-get install libssl-dev

And build again
October 26, 2019
On Saturday, 26 October 2019 at 17:54:44 UTC, Mitacha wrote:
> sudo apt-get install libssl-dev

That's it. Thanks. :-)