Missing "libsystem_darwin.dylib" after installing Xcode 9

I want to install the GenomicAlignments R package, however the installation is distorted because it cannot install one of the dependencies, which RCurl. When I try to install RCurlone by running install.packages("RCurl"), I get the following error:

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

This is 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

I traced it to the faulty version of Xcode 9 that I installed recently. So, any ideas on how to fix this? Returning to Xcode 8.3.3 will probably fix the problem, but I have no idea how to do this.

Thanks in advance, TP

+4
source share
2 answers

, : Xcode 9 Xcode 8.3.3 RCurl GenomicsAlignments R.

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

+1

Yep, Xcode 9 8.3.3, , : XCode ?

- Xcode 9 CLT.

0

Source: https://habr.com/ru/post/1687403/


All Articles