[Rd] Install R 2.14 From Source : lattice Error

Dario Strbenac D.Strbenac at garvan.org.au
Thu Jun 9 09:00:45 CEST 2011

I'm installing the latest development version of R on Ubuntu 10.04 

Revision: 56096
Last Changed Date: 2011-06-08

and the make command runs for a while, then I get :

** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/usr/local/lib64/R/library/lattice/libs/lattice.so':
  libR.so: cannot open shared object file: No such file or directory
Error : package 'lattice' could not be loaded
Error: loading failed
Execution halted

I'm not sure why it is referring to a file in /usr/local since I did 
./configure --prefix=/home/darstr/tmp/R-devel
before make.

Also, the file mentioned in the error exists and is readable.
$ ls -l /usr/local/lib64/R/library/lattice/libs/lattice.so
-rwxr-xr-x 1 root root 31813 2011-06-07 13:17 /usr/local/lib64/R/library/lattice/libs/lattice.so

What should I try next ?

Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010

More information about the R-devel mailing list