I've been trying to build the latest weekly release (2016.20), and after starting scons using:
external/scons-local/scons.py -j3 mode=release bin
from the source directory, everything will be fine for around 2h, but then I get this error:
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
scons: *** [build/src/release/linux/3.2/64/x86/gcc/4.7/default/libObjexxFCL.so] Error 1
scons: building terminated because of errors.
I've attached a portion of the .log file, but am not quite sure what the real issue is.
Attachment | Size |
---|---|
sconserror.log | 64.96 KB |
Category:
Post Situation:
https://www.rosettacommons.org/search/node/%22cannot%20find%20-lz%22
You need the zlib (compression) library to link against. Try "sudo apt-get install zlib1g-dev" on ubuntu, or the equivalent on your system.