Am 20.06.2016 um 18:17 schrieb Sönke Ludwig:

On Sun, 05 Jun 2016 12:50:04 GMT, Joseph Rushton Wakeling wrote:

On Sun, 05 Jun 2016 12:45:18 GMT, Joseph Rushton Wakeling wrote:

On Sun, 05 Jun 2016 12:41:54 GMT, Joseph Rushton Wakeling wrote:

On Sun, 05 Jun 2016 12:30:50 GMT, Joseph Rushton Wakeling wrote:

Looks like there's a missing -L=-lz in there, perhaps ... ? Can anyone advise on how to handle this?

For the avoidance of doubt, zlib1g-dev 1.2.8 is installed.

My suspicion here is that vibe.d's build setup is perhaps assuming that zlib will have been statically built into phobos, while in the Debian/Ubuntu libphobos2-ldc* packages, it's dynamically linked against ... ?

Adding "lflags": ["-lz"] to dub.json fixes the issue, in any case.

This is probably more of a dub problem than a vibe.d one, perhaps making the assumption that druntime and phobos have no dynamically-linked dependencies ... ?

There is an open issue for this: #1458

I kind of forgot about it, but I'll add a fix to dub.json right now.

I tested with the vanilla binaries (0.17.1 and 1.0.0) and both work for
me on Mint 0.17.3. Are the .deb packages from the official Debian
repositories or from D-APT (or from somewhere else)?

Adding -lz doesn't break anything, though, so I guess I can just add
it anyway. Would just be nice to be able to verify that it works.