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: Hermann Norpois
Subject: Re: [igraph] Installing igraph - cannot find -lgfortran
Date: Thu, 8 Dec 2016 12:02:52 +0100

Different version numbers of gcc, g++ and gfortran. That was the problem ... No everything is 4.8.x and it worked.
Thanks.

2016-12-08 11:43 GMT+01:00 Tamas Nepusz <address@hidden>:
Check libgfortran.so in /usr/lib to see if it is not broken. Also check whether the version numbers for gcc, g++ and gfortran match each other -- if not, upgrade as needed.

T.

On Thu, Dec 8, 2016 at 11:30 AM, Hermann Norpois <address@hidden> wrote:
I already tried that but it did not help. I deleted r-base-dev as well and reinstalled it because it depends on gfortran. But it did not help.

2016-12-08 9:58 GMT+01:00 Tamas Nepusz <address@hidden>:
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



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



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



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



_______________________________________________
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]