igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Installing igraph - cannot find -lgfortran


From: Hermann Norpois
Subject: [igraph] Installing igraph - cannot find -lgfortran
Date: Wed, 7 Dec 2016 23:26:26 +0100

Hello,

I am unable to install igraph on:
R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Ubuntu 14.04.
After the usual install.packages ('igraph') ...
This is the error message:

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

Die heruntergeladenen Quellpakete sind in
    ‘/tmp/RtmpDnTswM/downloaded_packages’
Warnmeldung:
In install.packages("igraph") :
  Installation des Pakets ‘igraph’ hatte Exit-Status ungleich 0

I checked if r-base-dev was installed ...
~$ sudo apt-get install r-base-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
r-base-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

This is my gfortran version:
~$ gfortran --version
GNU Fortran (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

How should I continue?
Thanks
Hermann


reply via email to

[Prev in Thread] Current Thread [Next in Thread]