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"]
todub.json
fixes the issue, in any case.This is probably more of a
dub
problem than avibe.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.