igraph 报错: libglpk.so.36: cannot open shared object file: No such file or directory

libglpk.so.36: cannot open shared object file: No such file or directory

** demo

** inst

** byte-compile and prepare package for lazy loading

^A** help

*** installing help indices

*** copying figures

** building package indices

** installing vignettes

** testing if installed package can be loaded from temporary location

Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):

 unable to load shared object '/share/biosoft/R/R-v4.2.2/lib64/R/library/00LOCK-igraph/00new/igraph/libs/igraph.so':

  libglpk.so.36: cannot open shared object file: No such file or directory

Error: loading failed

Execution halted

ERROR: loading failed

* removing ‘/share/biosoft/R/R-v4.2.2/lib64/R/library/igraph’

* restoring previous ‘/share/biosoft/R/R-v4.2.2/lib64/R/library/igraph’


解决:

更新一下glpk 库:

sudo yum install glpk glpk-devel


再安装:

R CMD INSTALL igraph_2.1.1.tar.gz

  • 发表于 2024-10-24 12:02
  • 阅读 ( 162 )
  • 分类:linux

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

698 篇文章

作家榜 »

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