简体   繁体   English

CentOS7 使用 R 安装 clusterProfiler 得到关于 openssl 的错误

[英]CentOS7 using R to install clusterProfiler get error about openssl

I've been having an unresolved error when I installed clusterProfiler using R on CentOS7.在 CentOS7 上使用 R 安装 clusterProfiler 时出现未解决的错误。 I have checked the information and some of them say it is the reason for installing the openssl version at the same time, but I have not found a specific solution.我查了资料,有的说是同时安装openssl版本的原因,但是没有找到具体的解决办法。

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/lib64/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so':
  libssl.so.1.1: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/lib64/R/library/openssl’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/usr/lib64/R/library/httr’
ERROR: dependency ‘httr’ is not available for package ‘europepmc’
* removing ‘/usr/lib64/R/library/europepmc’
ERROR: dependency ‘europepmc’ is not available for package ‘enrichplot’
* removing ‘/usr/lib64/R/library/enrichplot’
ERROR: dependency ‘enrichplot’ is not available for package ‘clusterProfiler’
* removing ‘/usr/lib64/R/library/clusterProfiler’

do this operation can solve the problem:做这个操作可以解决问题:

yum install openssl-devel

yum info openssl-devel

pkg-config --modversion openssl

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM