3.4, Ubuntu 11.10 Link Error

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install 3.4, Ubuntu 11.10 Link Error

Viewing 2 reply threads
  • Author
    Posts
    • #1244
      Anonymous

        Hello,

        I am attempting to setup Rosetta 3.4 on a Ubuntu 11.10 install. The compilation was successful, but an error occured during linking I believe… any help would be greatly appriciated.

        g++-4.6 -o build/src/release/linux/3.0/64/x86/gcc/4.6/libutility.so -shared -Wl,-rpath=/home/starone/Public/Rosetta/rosetta3.4/rosetta_source/build/external/release/linux/3.0/64/x86/gcc/4.6/ build/src/release/linux/3.0/64/x86/gcc/4.6/utility/tag/Tag.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/pointer/ReferenceCount.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/pointer/ReferenceCountMI_.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/options/keys/OptionKeys.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/excn/Exceptions.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/json_spirit/json_spirit_reader.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/json_spirit/json_spirit_value.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/json_spirit/json_spirit_writer.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/basic_sys_util.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/exit.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/heap.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/inline_file_provider.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/integer_mapping.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/LexicographicalIterator.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/mpi_util.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/PyExitCallback.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/static_database.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/string_util.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/options/mpi_stderr.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/options/OptionCollection.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/sql_database/DatabaseSessionManager.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/boinc/boinc_util.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/io/icstream.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/io/izstream.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/io/ocstream.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/io/ozstream.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/file/file_sys_util.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/file/FileName.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/file/gzip_util.os build/src/release/linux/3.0/64/x86/gcc/4.6/utility/file/PathName.os -Lexternal/lib -Lbuild/src/release/linux/3.0/64/x86/gcc/4.6 -Lsrc -Lbuild/external/release/linux/3.0/64/x86/gcc/4.6 -Lexternal -L/usr/lib -L/usr/local/lib -lObjexxFCL -lz -lcppdb -lsqlite3
        /usr/bin/ld: cannot find -lz
        collect2: ld returned 1 exit status
        scons: *** [build/src/release/linux/3.0/64/x86/gcc/4.6/libutility.so] Error 1
        scons: building terminated because of errors.

      • #6990
        Anonymous

          This error has been answered many times in these message boards. You’re missing the zlib compression library. You need to install zlib1g-dev, or whatever the equivalent package is in 11.10. As root: “sudo apt-get install zlib1g-dev”, then recompile. Synaptic or the new Ubuntu software manager will work equally well.

        • #6992
          Anonymous

            Thank you and my apologies for adding to the nest… While I’ve been in software for more than two decades, I’ve managed to avoid linux, pretty much for this very reason. ;)

            Thank you again for providing the form of the terminal command since my exposure to terminal windows in the past 10 years has been limited to “ipconfig -all” :)

            -Scott

          • #6997
            Anonymous

              The build completed without any further problem on this OS… I’ll run some tests and hopefully remember to come back and comment in case anyone else is considering it.

          Viewing 2 reply threads
          • You must be logged in to reply to this topic.