[R] can't install r package on debian due to linker problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Dec 1 13:55:22 CET 2004


On Wed, 1 Dec 2004, Robert Sams wrote:

> hi,
>
> my attempt to install the package Hmisc v3.0-1 fails with the message:
>
> /usr/bin/ld: cannot find -lfrtbegin
> collect2: ld returned 1 exit status
> make: *** [Hmisc.so] Error 1
> ERROR: compilation failed for package 'Hmisc'
>
> i'm at a loss here. any hints will be very much appreciated.
>
> i'm running:
>
> debian stable
> R version 2.0.1
> gcc 2.95.4-14
> g77 2.95.4-14
> binutils 2.12.90.0.1-4

Edit R_HOME/etc/Makeconf and remove -lfrtbegin from FLIBS.  It is not 
needed, and 2.1.0 will work that out.

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