Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
April 13, 2014 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |link-failure Priority|P1 |P2 -- |
June 11, 2014 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 Sean Kelly <sean@invisibleduck.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sean@invisibleduck.org --- Comment #1 from Sean Kelly <sean@invisibleduck.org> --- Yes, this is a huge pain. libcurl is pretty common for D scripts, and not being able to use rdmd for these scripts stinks. -- |
June 11, 2014 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 Brad Anderson <eco@gnuk.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eco@gnuk.net --- Comment #2 from Brad Anderson <eco@gnuk.net> --- I'd probably call this a duplicate of https://issues.dlang.org/show_bug.cgi?id=7044 but I'll let you decide. -- |
January 25, 2015 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |blocker -- |
January 25, 2015 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 AndyC <andy@squeakycode.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andy@squeakycode.net --- Comment #3 from AndyC <andy@squeakycode.net> --- It works fine for me on Slackware. I think this is an Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576 I think they are recommending getting the proper compile flags with: curl-config --cc --cflags and curl-config --libs -- |
January 26, 2015 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 --- Comment #4 from Vladimir Panteleev <thecybershadow@gmail.com> --- (In reply to AndyC from comment #3) > It works fine for me on Slackware. > > I think this is an Ubuntu bug: I think it's just that Slackware doesn't use --as-needed. > https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576 > > I think they are recommending getting the proper compile flags with: > > curl-config --cc --cflags > and > curl-config --libs This might fix curl, but doesn't fix the general case - especially when linking D libraries with C libraries with e.g. dub. -- |
January 26, 2015 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 --- Comment #5 from Vladimir Panteleev <thecybershadow@gmail.com> --- > https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1001576 Thanks, this pointed me in the right direction, and I figured out the following system-wide workaround: # echo 'gcc -Wl,--no-as-needed $*' > /usr/local/bin/gcc-dmd # chmod 755 /usr/local/bin/gcc-dmd # echo 'CC=/usr/local/bin/gcc-dmd' >> /etc/dmd.conf -- |
September 06, 2015 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 Martin Nowak <code@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |code@dawg.eu Resolution|--- |DUPLICATE --- Comment #6 from Martin Nowak <code@dawg.eu> --- *** This issue has been marked as a duplicate of issue 7044 *** -- |
January 18, 2016 [Issue 12572] pragma(lib, "curl") and -Lcurl broken | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12572 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=15574 -- |
Copyright © 1999-2021 by the D Language Foundation