Re: /usr/bin/ld.gold: error: failed to find object -lz

2019-08-06 Thread ?boing? via Digitalmars-d-learn

On Tuesday, 6 August 2019 at 12:39:08 UTC, Dukc wrote:

On Tuesday, 6 August 2019 at 11:41:25 UTC, kinke wrote:


LDC definitely doesn't add that. zlib shouldn't be necessary, 
as Phobos contains an (IIRC, outdated) version of it. Anyway, 
you should be able to please the linker by installing a zlib 
package, such as `zlib1g` on Debian/Ubuntu.


Installed a Fedora version from 
http://rpmfind.net/linux/rpm2html/search.php?query=zlib (using 
OpenSUSE, which uses .rpm:s like Fedora). No effect.


https://software.opensuse.org/package/zlib-devel-static


Re: 1 new

2019-08-06 Thread XavierAP via Digitalmars-d-learn

On Friday, 2 August 2019 at 18:25:28 UTC, jmh530 wrote:
When I navigate to https://forum.dlang.org/ I have a message 
that says "1 new reply" to "your posts." Normally, I click on 
that "1 new reply" and find the post that's new, go to it, and 
the message disappears. However, it doesn't seem to go away 
anymore. I tried looking at many different old posts without 
luck. At one point it was up to "2 new replies," but I viewed 
that other post and it went back down to "1 new reply." Does 
anyone else have this?


For me everything seems to work OK.


Blog Post #0059: Cairo Circles and Arcs

2019-08-06 Thread Ron Tarrant via Digitalmars-d-learn
Today's post covers the basics of drawing circles and arcs in a 
DrawingArea using Cairo functions. You can find it here: 
https://gtkdcoding.com/2019/08/06/0059-cairo-iii-circles-and-arcs.html


Also, in case it got missed, there's a second index of blog posts 
where everything is sorted by subject and that's right here: 
https://gtkdcoding.com/topics/


Re: /usr/bin/ld.gold: error: failed to find object -lz

2019-08-06 Thread Dukc via Digitalmars-d-learn

On Tuesday, 6 August 2019 at 11:41:25 UTC, kinke wrote:


LDC definitely doesn't add that. zlib shouldn't be necessary, 
as Phobos contains an (IIRC, outdated) version of it. Anyway, 
you should be able to please the linker by installing a zlib 
package, such as `zlib1g` on Debian/Ubuntu.


Installed a Fedora version from 
http://rpmfind.net/linux/rpm2html/search.php?query=zlib (using 
OpenSUSE, which uses .rpm:s like Fedora). No effect.


Re: /usr/bin/ld.gold: error: failed to find object -lz

2019-08-06 Thread kinke via Digitalmars-d-learn

On Tuesday, 6 August 2019 at 11:25:29 UTC, Dukc wrote:
I did notice that according to the above, `-lz` argument 
apparently is due to an attempt by dub or ldc to pass `-z` to 
the linker, but I'm just not getting ideas of how to 
troubleshoot that further. Any ideas?


LDC definitely doesn't add that. zlib shouldn't be necessary, as 
Phobos contains an (IIRC, outdated) version of it. Anyway, you 
should be able to please the linker by installing a zlib package, 
such as `zlib1g` on Debian/Ubuntu.