2017-11-28 7 views
0

Wenn ich versuche RcppArmadilloBiocLite Bibliothek in R zu installieren, es gibt mir die folgende Fehlermeldung geben:DESeq2 - RcppArmadillo Fehler

/usr/bin/ld: cannot find -lgfortran 
collect2: error: ld returned 1 exit status 
make: *** [RcppArmadillo.so] Error 1 
ERROR: compilation failed for package ‘RcppArmadillo’ 
* removing ‘/home/nikita/R/x86_64-pc-linux-gnu-library/3.2/RcppArmadillo’ 

Ich bin mit Ubuntu 12.04, R - 3.2.5 und g++-5.4. Jede Hilfe würde sehr geschätzt werden.

Antwort

0

OK, fand ich eine ähnliche Frage auf stackoverflow:

Building R package getting error "ld: cannot find -lgfortran "

und die Lösung einen Symlink zu schaffen, wie es von kevin beschrieben:

sudo ln -s /usr/lib/x86_64-linux-gnu/libgfortran.so.3 /usr/lib/libgfortran.so 
+0

die Frage als Duplikat markiert werden soll , Ich nehme an. –

Verwandte Themen