You are here

Error when install RosettaCommon using Scons

2 posts / 0 new
Last post
Error when install RosettaCommon using Scons

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!

Post Situation: 
Thu, 2021-09-02 11:25

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

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

Wed, 2021-12-08 13:01