我正在为 RosettaCommons 构建发布可执行文件,我使用以下代码输入终端:
scons bin mode=release
我收到以下错误:
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.
我列出了每个程序的版本:
macOS Monterey 12.0 Beta
Scons 4.2.0
Python 2.7.16
RosettaCommons 2021.16.61629