www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - ddox build locally failed

reply berni44 <dlang d-ecke.de> writes:
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?
Oct 26 2019
parent reply Mitacha <mateusz.mitaszka gmail.com> writes:
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
Oct 26 2019
parent berni44 <dlang d-ecke.de> writes:
On Saturday, 26 October 2019 at 17:54:44 UTC, Mitacha wrote:
 sudo apt-get install libssl-dev
That's it. Thanks. :-)
Oct 26 2019