[R] trouble with library(FEAR) and libgfortran.so.1

John P. Burkett burkett at uri.edu
Sun Sep 25 08:21:47 CEST 2011

Running R version 2.13.1 under Ubuntu 10.10 (kernel version
2.6.35-30-generic) on a x86-64 laptop with gfortran 4.4, I'm trying to
install and use the FEAR package from
I downloaded the the FEAR 1.15 package for 64-bit Linux (compatible with
R-2.12.0 compiled with GCC, GNU Fortran 4.1.2, Linux kernel
SMP) to the /home/john/Downloads directory.  The command
repos=NULL, destdir="/home/john/Downloads")
appears to have worked, eliciting the following responses:
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *binary* package ‘FEAR’ ...

The command library(FEAR) produced the following response:
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object
  libgfortran.so.1: cannot open shared object file: No such file or
Error: package/namespace load failed for 'FEAR'

Doing ls -l in the /usr/local/lib/R/site-library/FEAR/libs directory
produces the following:
total 288
-rwxr-xr-x 1 root staff 292757 2011-09-25 00:24 FEAR.so
The command locate libgfortran.so produces this response:

It appears to me that R looks for libgfortran.so.1 whereas I have

I would be very grateful for suggestions about how to get R to load the
FEAR package.


More information about the R-help mailing list