Error in foreign and nlme packages installation

I just get some errors in the update of foreign and nlme packages (R 3.6.1):

In both cases, I had this error:
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
  Referenced from: /opt/local/lib/libxar.1.dylib
  Reason: image not found
fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-7.0
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
  Referenced from: /opt/local/lib/libxar.1.dylib
  Reason: image not found
fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-7.0
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
  Referenced from: /opt/local/lib/libxar.1.dylib
  Reason: image not found
fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-7.0
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
  Referenced from: /opt/local/lib/libxar.1.dylib
  Reason: image not found
fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-7.0
dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
  Referenced from: /opt/local/lib/libxar.1.dylib
  Reason: image not found
fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-7.0

And indeed, this library didn't exist:

cd /opt/local/lib/
ls -l
...
-rwxr-xr-x    1 root      admin   2213980  7 sep 21:38 libcrypto.1.1.dylib
-rw-r--r--    1 root      admin   3849680  7 sep 21:38 libcrypto.a
lrwxr-xr-x    1 root      admin        19  7 sep 21:38 libcrypto.dylib -> libcrypto.1.1.dylib
...

Then I have made a symbolic link like this:
sudo ln -s libcrypto.dylib libcrypto.1.0.0.dylib

And now the installation of foreign and nlme packages does not produce error.

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04