http://d.puremagic.com/issues/show_bug.cgi?id=7044
--- Comment #9 from Leandro Lucarella <[email protected]> 2013-01-09 04:27:55 PST --- BTW, as things are now, you can't compile a program using curl wrapper in phobos, so this doesn't even apply only to the runtime: http://stackoverflow.com/questions/10095150/std-net-curl-linker-errors-in-linux To fix this, you'll have to change the compiler now, while if we implement this proposal, it will enough to update the sample config file. curl.d import std.net.curl, std.stdio; void main() { writeln(get("dlang.org")); } dmd -L-lcurl curl.d /home/luca/dmd/dmd2-git/src/../../phobos/generated/linux/release/64/libphobos2.a(curl.o): In function `_D3std3net4curl4Curl19_sharedStaticCtor28FZv': std/net/curl.d:(.text._D3std3net4curl4Curl19_sharedStaticCtor28FZv+0xf): undefined reference to `curl_global_init' (... more errors ...) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
