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

Jari Oksanen jarioksa at sun3.oulu.fi
Wed Dec 1 13:58:33 CET 2004


On Wed, 2004-12-01 at 14:38, 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'
> 
It is funny to see this error message in Debian which is a GNU/Linux
system. Typically you see the very same error message in MacOS X which
is a GNU/BSD system. There this is caused by missing Fortran compiler.
Indeed, at least in Red Hat Linux, libfrbegin.a is owned by Fortran
(g77). However, you claim below that you have installed Fortran (g77). I
suggest you look for if you some Fortran related packages are missing,
or you can try to 'locate' libfrtbegin.a in your system and see if it is
in the linker search path.
 
> 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
> 
cheers, jari oksanen

-- 
Jari Oksanen <jarioksa at sun3.oulu.fi>




More information about the R-help mailing list