日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

suma: error while loading shared libraries: libGLw.so.1: cannot open shared object file: No such

發(fā)布時間:2023/12/20 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 suma: error while loading shared libraries: libGLw.so.1: cannot open shared object file: No such 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

在 FSL虛擬機 CentOS linux系統(tǒng)中安裝ANFI包,期望Resample DTI和fMRI數(shù)據(jù)。
首先,按照官方按照教程step-by-step安裝軟件,直到suma -update_env一步一切都正常。但suma回車之后報錯

(base) [fsluser@fsl ~]$ suma -update_env bash: suma: command not found... Similar command is: 'sum'

這里報錯的原因是漏掉了教程中,更新環(huán)境變量一步。這里稍稍吐槽一下自己的粗心,直接忽略掉教程中的Purpose內(nèi)容:

Purpose: Download and unpack the current binaries in your $HOME directory; set the AFNI binary directory name to $HOME/abin/; and add that location to the $PATH in both ~/.cshrc and ~/.bashrc.

折騰了十幾分鐘無用功。而實際上,只要將環(huán)境變量更新,就可以找到suma命令。

export PATH=/home/fsluser/Antsbin/bin:$PATH

但隨后執(zhí)行

(base) [fsluser@fsl ~]$ suma -update_env suma: error while loading shared libraries: libGLw.so.1: cannot open shared object file: No such file or directory

還是報錯,缺少依賴關(guān)系。根據(jù)官方的論壇提示,重新下載了包,命令就可以正常執(zhí)行了。

(base) [fsluser@fsl ~]$ sudo yum install -y mesa-libGLw mesa-libGLU

緊接著安裝R,經(jīng)過長時間的下載和配置,最終也報了很多包依賴關(guān)系的錯誤。

/bin/sh ../libtool --tag=CC --mode=link g++ -m64 -std=gnu++11 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o libutil.la mt19937ar.lo sobolseq.lo timer.lo stop.lo redblack.lo qsort_r.lo rescale.lo -lm libtool: link: ERROR: no information for variable 'AR' cru .libs/libutil.a .libs/mt19937ar.o .libs/sobolseq.o .libs/timer.o .libs/stop.o .libs/redblack.o .libs/qsort_r.o .libs/rescale.o ../libtool: line 1102: ERROR:: command not found make[2]: *** [libutil.la] Error 127 make[2]: Leaving directory `/tmp/Rtmpdkk37t/R.INSTALL383c1f9e7cbf/nloptr/src/nlopt_src/util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/Rtmpdkk37t/R.INSTALL383c1f9e7cbf/nloptr/src/nlopt_src' make: *** [all] Error 2 ERROR: configuration failed for package ‘nloptr’ * removing ‘/home/fsluser/R/nloptr’ ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’ * removing ‘/home/fsluser/R/httr’ ERROR: dependency ‘curl’ is not available for package ‘rio’ * removing ‘/home/fsluser/R/rio’ ERROR: dependency ‘curl’ is not available for package ‘V8’ * removing ‘/home/fsluser/R/V8’ ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘rsconnect’ * removing ‘/home/fsluser/R/rsconnect’ ERROR: dependency ‘igraph’ is not available for package ‘threejs’ * removing ‘/home/fsluser/R/threejs’ ERROR: dependency ‘units’ is not available for package ‘sf’ * removing ‘/home/fsluser/R/sf’ ERROR: dependency ‘nloptr’ is not available for package ‘lme4’ * removing ‘/home/fsluser/R/lme4’ ERROR: dependencies ‘png’, ‘jpeg’ are not available for package ‘latticeExtra’ * removing ‘/home/fsluser/R/latticeExtra’ ERROR: dependency ‘gsl’ is not available for package ‘rtdists’ * removing ‘/home/fsluser/R/rtdists’ ERROR: dependency ‘cubature’ is not available for package ‘MCMCglmm’ * removing ‘/home/fsluser/R/MCMCglmm’ ERROR: dependencies ‘xml2’, ‘httr’ are not available for package ‘rvest’ * removing ‘/home/fsluser/R/rvest’ ERROR: dependency ‘httr’ is not available for package ‘plotly’ * removing ‘/home/fsluser/R/plotly’ ERROR: dependency ‘lme4’ is not available for package ‘gamm4’ * removing ‘/home/fsluser/R/gamm4’ ERROR: dependency ‘latticeExtra’ is not available for package ‘Hmisc’ * removing ‘/home/fsluser/R/Hmisc’ ERROR: dependency ‘lme4’ is not available for package ‘pbkrtest’ * removing ‘/home/fsluser/R/pbkrtest’ ERROR: dependency ‘lme4’ is not available for package ‘mlmRev’ * removing ‘/home/fsluser/R/mlmRev’ ERROR: dependency ‘lme4’ is not available for package ‘MEMSS’ * removing ‘/home/fsluser/R/MEMSS’ ERROR: dependency ‘lme4’ is not available for package ‘effects’ * removing ‘/home/fsluser/R/effects’ ERROR: dependency ‘lme4’ is not available for package ‘glmmTMB’ * removing ‘/home/fsluser/R/glmmTMB’ ERROR: dependency ‘V8’ is not available for package ‘rstan’ * removing ‘/home/fsluser/R/rstan’ ERROR: dependency ‘sf’ is not available for package ‘spdep’ * removing ‘/home/fsluser/R/spdep’ ERROR: dependency ‘lme4’ is not available for package ‘lmerTest’ * removing ‘/home/fsluser/R/lmerTest’ ERROR: dependencies ‘httr’, ‘rvest’, ‘xml2’ are not available for package ‘tidyverse’ * removing ‘/home/fsluser/R/tidyverse’ ERROR: dependencies ‘pbkrtest’, ‘rio’, ‘lme4’ are not available for package ‘car’ * removing ‘/home/fsluser/R/car’ ERROR: dependency ‘plotly’ is not available for package ‘ggResidpanel’ * removing ‘/home/fsluser/R/ggResidpanel’ ERROR: dependencies ‘rsconnect’, ‘rstan’, ‘threejs’ are not available for package ‘shinystan’ * removing ‘/home/fsluser/R/shinystan’ ERROR: dependencies ‘lme4’, ‘Hmisc’ are not available for package ‘a(chǎn)rm’ * removing ‘/home/fsluser/R/arm’ ERROR: dependency ‘car’ is not available for package ‘rstatix’ * removing ‘/home/fsluser/R/rstatix’ ERROR: dependencies ‘lme4’, ‘rstan’, ‘shinystan’ are not available for package ‘rstanarm’ * removing ‘/home/fsluser/R/rstanarm’ ERROR: dependencies ‘lme4’, ‘tidyverse’, ‘gamm4’ are not available for package ‘projpred’ * removing ‘/home/fsluser/R/projpred’ ERROR: dependencies ‘lme4’, ‘pbkrtest’, ‘lmerTest’, ‘car’ are not available for package ‘a(chǎn)fex’ * removing ‘/home/fsluser/R/afex’ ERROR: dependency ‘car’ is not available for package ‘phia’ * removing ‘/home/fsluser/R/phia’ ERROR: dependency ‘rstatix’ is not available for package ‘ggpubr’ * removing ‘/home/fsluser/R/ggpubr’ ERROR: dependencies ‘rstan’, ‘shinystan’, ‘projpred’ are not available for package ‘brms’ * removing ‘/home/fsluser/R/brms’The downloaded source packages are in‘/tmp/RtmpsSHv4W/downloaded_packages’++ Note: @ 16:22:48This package has been installed on the computer: afexThis package has been installed on the computer: phiaThis package has been installed on the computer: lmerTestThis package has been installed on the computer: brmsThere were 44 warnings (use warnings() to see them)

根據(jù)GitHub上的建議,我在R環(huán)境中,手動安裝nloptr包。

install.packages("nloptr")

但仍然不成功,報錯缺少libtool的link。

libtool: link: ERROR: no information for variable 'AR' cru .libs/libutil.a .libs/mt19937ar.o .libs/sobolseq.o .libs/timer.o .libs/stop.o .libs/redblack.o .libs/qsort_r.o .libs/rescale.o ../libtool: line 1102: ERROR:: command not found make[2]: *** [libutil.la] Error 127 make[2]: Leaving directory `/tmp/RtmpWWS18t/R.INSTALL49983990066e/nloptr/src/nlopt_src/util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/RtmpWWS18t/R.INSTALL49983990066e/nloptr/src/nlopt_src' make: *** [all] Error 2 ERROR: configuration failed for package ‘nloptr’ * removing ‘/usr/lib64/R/library/nloptr’The downloaded source packages are in‘/tmp/RtmpiYvBm8/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("nloptr") :installation of package ‘nloptr’ had non-zero exit status

后來,看到stackoverflow上多條意見都指向了R包的版本不一致問題,如鏈接一, 鏈接二,和鏈接三。最終根據(jù)建議,手動指定安裝包的版本,nloptr包在R中就能被成功安裝。

packageurl <- "https://cran.r-project.org/src/contrib/Archive/nloptr/nloptr_1.2.1.tar.gz"; install.packages(packageurl, repos=NULL, type="source");

總結(jié)

以上是生活随笔為你收集整理的suma: error while loading shared libraries: libGLw.so.1: cannot open shared object file: No such的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 无码粉嫩虎白一线天在线观看 | 97人妻精品一区二区三区软件 | 成年人免费在线观看视频网站 | 福利视频亚洲 | 国产99久一区二区三区a片 | 麻豆91在线观看 | 欧美一二级 | 欧美日韩91 | 亚洲成人第一网站 | 中国人妖和人妖做爰 | 欧洲精品久久久久毛片完整版 | 人妻巨大乳hd免费看 | 在线视频一区二区 | 偷拍女澡堂一区二区三区 | 少妇被爽到高潮动态图 | 99re99热| 国产成人精品av久久 | 国产一区视频在线免费观看 | 99久久久久久 | 国产精品久久久久野外 | 99精品欧美| 超能一家人电影免费喜剧在线观看 | 91视频 - 88av| 黄色精彩视频 | 毛片毛片毛片毛片毛片毛片 | 国产99精品 | 国内精品亚洲 | 日韩在线观看视频网站 | 青青视频免费 | 亚洲福利视频一区 | 亚洲国产精品久久久久久 | 在线观看三区 | 日韩欧美国产亚洲 | 亚洲av电影天堂男人的天堂 | 传媒视频在线观看 | 久久人 | 欧美一级淫片免费视频魅影视频 | 国产对白videos麻豆高潮 | 尹人av| 91亚洲视频在线观看 | 熊猫成人网 | 韩国av一区 | 黄色片播放器 | 国产精品久久不卡 | 久久久久久在线观看 | 不卡视频一区 | 欧美精品不卡 | 天天干天天看 | 伊人久久网站 | 欧美被狂躁喷白浆精品 | av大全在线观看 | 精品视频在线免费 | 123超碰| 国产日韩在线一区 | www国产成人 | 性欧美另类 | 久久久久人妻一区精品色 | 女人喷潮完整视频 | 超碰香蕉 | 中文字幕有码在线 | 欧美日韩在线一区二区 | 欧美人交a欧美精品 | a级大片在线观看 | 高清18麻豆| 中国字幕av | mm1313亚洲国产精品美女 | 最好看的2019中文大全在线观看 | 午夜网址| 欧美人体做爰大胆视频 | 狠狠综合| 在线免费看a | 中文字幕一区二区三区乱码不卡 | 久久久视屏 | 九九自拍偷拍 | www色视频| 久草这里只有精品 | 亚洲一区二区三区四 | 国产精品高潮呻吟AV无码 | 韩日一级片 | 一区二区在线影院 | 青草精品视频 | 国产精品久久久久一区二区三区 | 伊人青青草原 | 中文理论片 | 国产一区二区三区高清视频 | 手机av资源 | 另类小说一区二区 | 欧美性大战久久久久xxx | 日本黄色性视频 | 无码国产色欲xxxx视频 | 国产精品一区二区免费在线观看 | 骚虎视频在线观看 | 亚洲三级影视 | 欧洲精品视频在线 | 毛片啪啪啪| 欧洲精品一区 | 国产高清精品在线 | 国产精品一区二区人人爽 | 欧美黑人狂野猛交老妇 |