您好,登錄后才能下訂單哦!
這篇文章給大家分享的是有關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
感謝各位的閱讀!關于“igraph包安裝錯誤怎么辦”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。