gpt4 book ai didi

r - 安装 Xcode 9 后缺少 "libsystem_darwin.dylib"

转载 作者:行者123 更新时间:2023-12-02 00:08:06 25 4
gpt4 key购买 nike

我要安装GenomicAlignments R 包,但是安装失败,因为它无法安装 RCurl 依赖项之一。当我尝试通过运行 install.packages("RCurl") 单独安装 RCurl 时,出现以下错误:

ld: file not found: /usr/lib/system/libsystem_darwin.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [RCurl.so] Error 1
ERROR: compilation failed for package ‘RCurl’
* removing ‘/usr/local/lib/R/3.4/site-library/RCurl’
Warning in install.packages :
installation of package ‘RCurl’ had non-zero exit status

这是sessionInfo():

R version 3.4.2 (2017-09-28)
Platform: x86_64-apple-darwin16.7.0 (64-bit)
Running under: macOS Sierra 10.12.6

traced it down我最近安装的有问题的 Xcode 9 版本。那么,关于如何解决这个问题有什么想法吗?返回 Xcode 8.3.3 可能会解决该问题,但我不知道如何执行此操作。

提前致谢,TP

最佳答案

如果人们想知道:卸载 Xcode 9 并安装 Xcode 8.3.3 解决了 R 中 RCurl 包和相关 GenomicsAlignments 包的问题。

** testing if installed package can be loaded
* DONE (RCurl)

TP

关于r - 安装 Xcode 9 后缺少 "libsystem_darwin.dylib",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46722052/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com