[R] Matrix package installation problem

Martin Maechler maechler at stat.math.ethz.ch
Fri Oct 5 10:44:56 CEST 2007

>>>>> "JMB" == Jean Marie Beduin <jm.beduin at ulg.ac.be>
>>>>>     on Fri, 05 Oct 2007 09:10:11 +0200 writes:

    JMB> I need some help

    JMB> I try to install the following package: Matrix_0.999375-2.tar.gz
    JMB> I have the needed package and R version.
    JMB> My operating sytem is linux suse 10.1.

    JMB> I have the following error message

    JMB> /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
    JMB> ne peut trouver -lgfortran
so you don't have the necessary Fortran library installed.
Consequently you won't be able to install (from the sources) any
R package with Fortran code.

You need to install the SuSE package 'gfortran' and also something like 
'gfortran-devel' or 'libgfortran-dev' or something like that.

    JMB> collect2: ld returned 1 exit status
    JMB> make: *** [Matrix.so] Erreur 1
    JMB> ERROR: compilation failed for package 'Matrix'
    JMB> ** Removing '/usr/lib/R/library/Matrix'

    JMB> thank you
    JMB> JM Beduin

More information about the R-help mailing list