库文件位置问题

      7 The following object is masked from ‘package:VennDiagram’:      8       9     ellipse     10      11 Error in dyn.load(file, DLLpath = DLLpath, ...) :      12   unable to l...
      7 The following object is masked from ‘package:VennDiagram’:
      8 
      9     ellipse
     10 
     11 Error in dyn.load(file, DLLpath = DLLpath, ...) : 
     12   unable to load shared object '/share/work/biosoft/R/R-v4.2.0/lib64/R/library/units/libs/units.so':
     13   libudunits2.so.0: cannot open shared object file: No such file or directory
     14 Calls: draw_venn ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
     15 Execution halted


在qsub投放任务时遇到报错,提示没有这个libudunits2.so.0库文件,但自己手动跑这个任务是可以的,很奇怪

,不过locate 这个库发现在usr/lib64里,这就是问题所在,不同节点的有几个目录是不同的,比如和这个/usr,解决这个问题只需要把这个库拿到一个公共目录,然后再代码中export这个目录到LD_LIBRARY_PATH里就行

  • 发表于 2023-11-30 17:00
  • 阅读 ( 358 )
  • 分类:linux

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
xun
xun

电路元件工程师

68 篇文章

作家榜 »

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