Member Site › Forums › Rosetta 3 › Rosetta 3 – General › Linker problems when building mini › Reply To: Linker problems when building mini
The linker error that breaks the build is: (last lines of the stderr file I attached)
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
scons: *** [build/src/release/linux/2.6/32/x86/gcc/libutility.so] Error 1
> Hi,
>
> I’m trying to build mini (revision 33356) on my machine, using ‘scons.py bin mode=release’. I get all sorts of compiler warnings along the way, and for a grand finale – a fatal linker error. Can anyone help me figure it out?
> I’m running ubuntu 9.04, with python 2.6.2.
>
> You can check out the scons stderr output at this link:
> http://dl.getdropbox.com/u/1728180/mini_r33356_build_stderr.log.txt
> standard output is at:
> http://dl.getdropbox.com/u/1728180/mini_r33356_build.log.txt