How compile program with curl support?

evilrat evilrat666 at gmail.com
Thu Aug 22 06:20:43 PDT 2013


On Thursday, 22 August 2013 at 13:15:39 UTC, ilya-stromberg wrote:
> On Thursday, 22 August 2013 at 10:24:49 UTC, David wrote:
>>> What should I do to get curl support?
>>> OS is Linux Ubuntu 12.10.
>>
>> Install libcurl-dev
>> http://packages.ubuntu.com/de/lucid/libcurl-dev
>>
>> Add "-L-lcurl" to your commandline
>
> Thanks for help. Correct answer was here:
> http://forum.dlang.org/post/mailman.1089.1350735488.5162.digitalmars-d@puremagic.com
>
> $ dmd -L-lphobos2 -L-lcurl main.d
>
> As I can see by google, this is common issue. How can we 
> document the compilation proses?

why do u link phobos when compiler do this for you?

btw in fact i've seen somewhere on site/wiki/forums instructions 
"how to build libcurl for D" or something.


More information about the Digitalmars-d-learn mailing list