You are here

Error during scons building

2 posts / 0 new
Last post
Error during scons building

I've been trying to build the latest weekly release (2016.20), and after starting scons using:

external/scons-local/ -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/] 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.

sconserror.log64.96 KB
Post Situation: 
Tue, 2016-07-26 08:20


You need the zlib (compression) library to link against.  Try "sudo apt-get install zlib1g-dev" on ubuntu, or the equivalent on your system.

Tue, 2016-07-26 08:40