igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Installing igraph - cannot find -lgfortran


From: Tamas Nepusz
Subject: Re: [igraph] Installing igraph - cannot find -lgfortran
Date: Thu, 8 Dec 2016 09:58:03 +0100

It could be the case that /usr/lib/libgfortran.so is a broken symlink resulting from earlier package installations, removals and OS upgrades. Try this:

sudo dpkg --purge gfortran
sudo apt-get install gfortran

(See also https://stackoverflow.com/questions/6302209/building-r-package-getting-error-ld-cannot-find-lgfortran )


T.

On Wed, Dec 7, 2016 at 11:26 PM, Hermann Norpois <address@hidden> wrote:
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


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

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