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

Dukc ajieskola at gmail.com
Thu Aug 15 11:28:35 UTC 2019


Investigated this matter further. The most likely reason seems to 
be that the required library -zlib- (Yes, ld.gold was getting the 
arguments in correct form despite what I said. Sorry.) is 
installed only in dynamic form (.so), but ld.gold finds only 
static libraries (.a). Not 100% sure yet, because it wasn't worth 
the time to convert the libraries/get the linker to work with 
dynlibs right now, but this seems to be the cause.




More information about the Digitalmars-d-learn mailing list