You are here

Error during scons building

2 posts / 0 new
Last post
Error during scons building
#1

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.

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

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.

Tue, 2016-07-26 08:40
smlewis