Cassiano wrote:
I think I have 'libgfortran'.
After that I digit 'dpkg -l | grep libgfortran' in terminal, I got this
message:
ii libgfortran2 4.2.4-5ubuntu1
Runtime library for GNU Fortran applications
ii libgfortran2-dbg 4.2.4-5ubuntu1
Runtime library for GNU Fortran applications
ii libgfortran3 4.4.1-4ubuntu9
Runtime library for GNU Fortran applications
ii libgfortran3-dbg 4.4.1-4ubuntu9
Runtime library for GNU Fortran applications
And the error continue:
/usr/lib/R/bin/exec/R: error while loading shared libraries:
libgfortran.so.3: cannot open shared object file: No such file or directory
Cassiano wrote:
After sudo updatedb - nothing
after locate libgfortran | grep so
//usr/lib/libgfortran.so.2
/usr/lib/libgfortran.so.2.0.0
/usr/lib/libgfortran.so.3.0.0
/usr/lib/debug/usr/lib/libgfortran.so.2.0.0
/usr/lib/debug/usr/lib/libgfortran.so.3.0.0
/usr/lib/gcc/i486-linux-gnu/4.4/libgfortran.so
/
My reply:
The point is that R is expecting /usr/lib/libgfortran.so.3 but your
computer has /usr/lib/libgfortran.so.3.0.0. A trick is to make a
symbolic link from /usr/lib/libgfortran.so.3 to
/usr/lib/libgfortran.so.3.0.0. /usr/lib/libgfortran.so only points to
/usr/lib/libgfortran.so.3.0.0 in that case:
sudo ln -s /usr/lib/libgfortran.so.3.0.0 /usr/lib/libgfortran.so.3
This should fix the problem.
cheers,
Paul
--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone: +3130 274 3113 Mon-Tue
Phone: +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.