Error during scons building

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Error during scons building

Viewing 1 reply thread
  • Author
    Posts
    • #2475
      Anonymous

        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.

      • #11759
        Anonymous

          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.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.