[2.061] -unittest => /usr/bin/ld: cannot find -lcurl

Philippe Sigaud philippe.sigaud at gmail.com
Fri Jan 4 00:04:06 PST 2013


On Fri, Jan 4, 2013 at 1:50 AM, Jonathan M Davis <jmdavisProg at gmx.com>wrote:

> On Friday, January 04, 2013 01:26:59 Philippe Sigaud wrote:
> > I updated to 2.061 and now, when I use rdmd with the -unittest
> > flag, I have a strange error:
> >
> > /usr/bin/ld: cannot find -lcurl
> >
> > Why does it need curl?
>
> std.net.curl needs it, but AFAIK, it's supposed to be up to the programmer
> to
> link against when they actually need it rather than it happening
> automatically. I don't know what changed.


I gathered std.net.curl needed it. But I do not import it. Is it somehow
imported by the -unittest flag?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130104/885ec29d/attachment.html>


More information about the Digitalmars-d mailing list