[R] Installing ade4, missing libraries
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Oct 29 09:22:21 CET 2007
Please do not hijack a different thread for your question. In particular
do not send your question directly to those who asked or helped with other
questions.
You need libgfortran to build R. I assume you did a binary install on
'Linux', but without the details the R posting guide asked you for I can't
tell you exactly what is missing. Properly set up binary installations
have a component that brings in all the needed dependencies, e.g. RedHat
ones have R and R-devel RPMs.
RedHat systems have rpms for gcc-gfortran and libgfortran, but others
may differ. Note that the provision might be split: the actual library is
in libgfortran but the 'devel' part needed to build against it is in
gcc-gfortran (at least on the version I looked at).
On Mon, 29 Oct 2007, Ndoye Souleymane wrote:
>
>
> Dear R users,
>
>
> I have tried to install ade4 package
> under Linux using R CDM INSTALL .
>
> But a the process stoped with an error
> as shown bellowed ?cannot find -lgfortran?.
>
> Is it a required package for Linux. If
> so, Is this package available in RPM ?
>
> Many thanks,
>
>
> Best regards,
>
> Souleymane N'Doye
>
>
>
> P.S.:
> gcc -shared
> -Bdirect,--hash-stype=both,-Wl,-O1 -o ade4.so adesub.o divsub.o
> phylog.o testamova.o testdim.o testrlq.o tests.o -L/usr/lib/R/lib
> -lRlapack -L/usr/lib/R/lib -lRblas -lgfortran -lm -lgcc_s
> -L/usr/lib/R/lib -lR
> /usr/bin/ld: cannot find -lgfortran
> collect2: ld returned 1 exit status
> make: *** [ade4.so] Error 1
> ERROR: compilation failed for package
> 'ade4'
> ** Removing '/usr/lib/R/library/ade4'
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list