Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
无法载入共享目标对象‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/00LOCK-igraph/00new/igraph/libs/igraph.so’::
/home/user/R/x86_64-redhat-linux-gnu-library/4.2/00LOCK-igraph/00new/igraph/libs/igraph.so: undefined symbol: __builtin_mul_overflow
错误: 载入失败
停止执行
ERROR: loading failed
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/igraph’
* installing *source* package ‘RcppAnnoy’ ...
** 成功将‘RcppAnnoy’程序包解包并MD5和检查
** using staged installation
** libs
错误: C++17 standard requested but CXX17 is not defined
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/RcppAnnoy’
* installing *source* package ‘sctransform’ ...
** 成功将‘sctransform’程序包解包并MD5和检查
** using staged installation
** libs
错误: C++17 standard requested but CXX17 is not defined
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/sctransform’
ERROR: dependency ‘RcppTOML’ is not available for package ‘reticulate’
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/reticulate’
ERROR: dependency ‘RcppAnnoy’ is not available for package ‘uwot’
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/uwot’
ERROR: dependencies ‘reticulate’, ‘igraph’ are not available for package ‘leiden’
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/leiden’
ERROR: dependencies ‘igraph’, ‘leiden’, ‘RcppAnnoy’, ‘reticulate’, ‘sctransform’, ‘uwot’ are not available for package ‘Seurat’
* removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/4.2/Seurat’
下载的程序包在
‘/tmp/Rtmp4BIC2I/downloaded_packages’里
Warning messages:
1: In install.packages("Seurat") :
安装程序包‘RcppTOML’时退出狀態的值不是0
2: In install.packages("Seurat") : 安装程序包‘igraph’时退出狀態的值不是0
3: In install.packages("Seurat") :
安装程序包‘RcppAnnoy’时退出狀態的值不是0
4: In install.packages("Seurat") :
安装程序包‘sctransform’时退出狀態的值不是0
5: In install.packages("Seurat") :
安装程序包‘reticulate’时退出狀態的值不是0
6: In install.packages("Seurat") : 安装程序包‘uwot’时退出狀態的值不是0
7: In install.packages("Seurat") : 安装程序包‘leiden’时退出狀態的值不是0
8: In install.packages("Seurat") : 安装程序包‘Seurat’时退出狀態的值不是0
不管直接install,还是BiocManager都安装不上,每次都会这样报错
并且我已经升级了g++(GCC)
[root@localhost ~]# /opt/rh/devtoolset-8/root/usr/bin/g++ --version
g++ (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
且.R/Makevars
中已经包含了CXX
和CXXFLAGS
的设置
CXX=/opt/rh/devtoolset-8/root/usr/bin/g++
CXXFLAGS=-O2 -fPIC $(LTO) -std=gnu++17
~
但是无论如何都是安装不上,报错都是一样的
求大神大佬帮忙