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

David Nadlinger see at klickverbot.at
Fri Jan 4 06:35:25 PST 2013


On Friday, 4 January 2013 at 00:27:01 UTC, 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?

The std.traits unittests apparently import etc.c.curl, which 
features a »pragma(lib, "curl");« declaration. Should be easy to 
swap it out for another module that doesn't produce any 
unintended side effects.

David


More information about the Digitalmars-d mailing list