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

?boing? user12345 at 12.fi
Wed Aug 7 02:47:11 UTC 2019


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


More information about the Digitalmars-d-learn mailing list