[R] where is library file

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Nov 14 22:02:05 CET 2007


On Wed, 14 Nov 2007, Casey,Richard wrote:

> While trying to install R on 64-bit HP Proliant and RedHat Enterprise 
> Linux v.4 using R-2.6.0-3.rh4.x86_64.rpm, it says:
>
> Failed dependencies: libg2c.so.0()(64bit) is needed by R
>
> Does anyone know where to get libg2c.so or the rpm to install it?

libg2c is the runtime library for g77, the fortran compiler for gcc 3.x.

Loooking at the R spec file, this is likely to be in gcc-g77 (or a 
dependency of that), and that is a dependency of the R-devel RPM.  Have 
you tried installing the latter: you will need it to install packages 
later?

Googling got me to

http://www.redhat.com/archives/nahant-list/2007-April/msg00049.html

which suggests that you need the libf2c RPM on RHEL4.

-- 
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