std.net.curl is not working?

Jordi Sayol g.sayol at yahoo.es
Fri Apr 26 11:13:51 PDT 2013


On 26/04/13 19:55, mab wrote:
> Thank you for answering. But it didnt work.
> 
> I get:
> #dmd hello.d -L-lcurl
> /usr/bin/ld: cannot find -lcurl
> collect2: ld returned 1 exit status
> --- errorlevel 1
> 
> Curl is installed, as also libcurl3.

You need to install the development curl package:

$ sudo apt-get install libcurl4-openssl-dev
or
$ sudo apt-get install libcurl4-gnutls-dev
or
$ sudo apt-get install libcurl4-nss-dev

> 
> I forget to mention that i am using "DMD64 D Compiler v2.062".
> Is std.net.curl working in this Version? Because it also didnt work on my Windows 7 System.
> 

-- 
Jordi Sayol


More information about the Digitalmars-d-learn mailing list