dyld:未加载库:@ rpath / libreadline.6.2.dylib和@rpath / libintl.8.dylib

时间:2017-10-17 23:44:49

标签: r xcode macos conda dylib

我刚刚在OSX上安装了新的更新,因为它一直在弹出。当然,它打破了一些东西。我再也无法访问我的R.

让我永远地设置我的环境。我已经安装了所有我的R软件包,我在con中使用了R。

我该如何解决这个问题?为什么在进行任何更新或轻微调整时dyld库总是会中断?它真的搞砸了工作流程......

Joshs-MBP:~ mu$ which R
/Users/mu/anaconda/bin/R
Joshs-MBP:~ mu$ R
dyld: Library not loaded: @rpath/libreadline.6.2.dylib
  Referenced from: /Users/mu/anaconda/lib/R/lib/libR.dylib
  Reason: image not found
Abort trap: 6
```

我正在运行OSX Sierra 10.12.6它在开始更新Xcode时立刻就崩溃了(我以为它只是更新我的iTunes)。

Joshs-MBP:~ mu$ conda info
Current conda install:

               platform : osx-64
          conda version : 4.3.29
       conda is private : False
      conda-env version : 4.3.29
    conda-build version : not installed
         python version : 3.6.3.final.0
       requests version : 2.18.4
       root environment : /Users/mu/anaconda  (writable)
    default environment : /Users/mu/anaconda
       envs directories : /Users/mu/anaconda/envs
                          /Users/mu/.conda/envs
          package cache : /Users/mu/anaconda/pkgs
                          /Users/mu/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/main/osx-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/osx-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/osx-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/osx-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : None
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.29 requests/2.18.4 CPython/3.6.3 Darwin/16.7.0 OSX/10.12.6
                UID:GID : 501:20

我尝试了https://github.com/ContinuumIO/anaconda-issues/issues/6312,但现在有一个不同但却相似的错误:

Joshs-MBP:~ mu$ R
dyld: Library not loaded: @rpath/libintl.8.dylib
  Referenced from: /Users/mu/anaconda/lib/R/lib/libR.dylib
  Reason: image not found
Abort trap: 6

1 个答案:

答案 0 :(得分:0)

https://github.com/conda/conda/issues/6183

尝试:conda update -c rdonnellyr -c main --all

enter image description here

https://github.com/mingwandroidRdylibMacOS

所发生的情况有很好的解释