igraph 包安装错误

Igraph软件安装错误

/usr/bin/ld: /usr/local/lib/liblapack.a(dgeev.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

/usr/local/lib/liblapack.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

make: *** [igraph.so] Error 1

ERROR: compilation failed for package ‘igraph’

* removing ‘/share/work/biosoft/R/R-v3.4.0/lib64/R/library/igraph’


The downloaded source packages are in

        ‘/tmp/Rtmply12uv/downloaded_packages’

Updating HTML index of packages in '.Library'

Making 'packages.html' ... done



错误解决,临时不让他加载这些模块:

mv /usr/local/lib/liblapack.a /usr/local/lib/liblapack.a.bak

mv /usr/local/lib/libblas.a /usr/local/lib/libblas.a.bak

然后再安装: install.packages("igraph",repos = "http://mirrors.tuna.tsinghua.edu.cn/CRAN")


Warning message:

In install.packages("igraph", repos = "http://mirrors.tuna.tsinghua.edu.cn/CRAN/") :

  installation of package ‘igraph’ had non-zero exit status


  • 发表于 2018-06-01 16:12
  • 阅读 ( 7093 )
  • 分类:R

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

702 篇文章

作家榜 »

  1. omicsgene 702 文章
  2. 安生水 351 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. rzx 78 文章
  7. 红橙子 78 文章
  8. CORNERSTONE 72 文章