Error when install RosettaCommon using Scons

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Error when install RosettaCommon using Scons

Viewing 1 reply thread
  • Author
    Posts
    • #3834
      Anonymous

        I’m building release executables for RosettaCommons, I input to the terminal with the following code:


        scons bin mode=release

        And I got the following error:


        scons: Reading SConscript files ...
        Running versioning script ... Release package detected, using rosetta/main/.release.json to acquire version information...
        Done. (0.0 seconds)
        Number of option files updated: 0
        Total 4580 options.
        Finished updating ResidueProperty code
        -- no changes needed
        Finished updating VariantType code
        -- no changes needed
        scons: done reading SConscript files.
        scons: Building targets ...
        clang++ -o build/external/release/macos/10.16/64/x86/clang/12.0/default/libzlib.dylib -dynamiclib -install_name /Users/miotomato/Downloads/rosetta_bin_mac_2021.16.61629_bundle/main/source/build/external/release/macos/10.16/64/x86/clang/12.0/default/libzlib.dylib -stdlib=libc++ -Wl,-rpath=/Users/miotomato/Downloads/rosetta_bin_mac_2021.16.61629_bundle/main/source/build/external/release/macos/10.16/64/x86/clang/12.0/default -Wl,-rpath=$ORIGIN -Wl,-rpath=$ORIGIN/../lib build/external/release/macos/10.16/64/x86/clang/12.0/default/dummy_zlib.os -Lexternal/lib -Lbuild/external/release/macos/10.16/64/x86/clang/12.0/default -Lexternal -L/usr/lib
        ld: unknown option: -rpath=/Users/miotomato/Downloads/rosetta_bin_mac_2021.16.61629_bundle/main/source/build/external/release/macos/10.16/64/x86/clang/12.0/default
        clang: error: linker command failed with exit code 1 (use -v to see invocation)
        scons: *** [build/external/release/macos/10.16/64/x86/clang/12.0/default/libzlib.dylib] Error 1
        scons: building terminated because of errors.

        I list the version of each program:


        macOS Monterey 12.0 Beta
        Scons 4.2.0
        Python 3.8.6
        RosettaCommons 2021.16.61629

        Can anyone help me with this? Thank you!

      • #16081
        akhmelin
        Participant

          Giving this a bump because I think I’m having the same issue. 

          I didn’t see this thread and posted my issue here:

          https://www.rosettacommons.org/node/11377

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