[R] can't install r package on debian due to linker problem
Robert at sanctumfi.com
Wed Dec 1 14:34:14 CET 2004
thank you both.
i edited the Makeconf file per brian ripley's instruction and all works well.
From: Jari Oksanen [mailto:jarioksa at sun3.oulu.fi]
Sent: Wednesday, December 01, 2004 12:59 PM
To: Robert Sams
Subject: Re: [R] can't install r package on debian due to linker problem
On Wed, 2004-12-01 at 14:38, Robert Sams wrote:
> 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 184.108.40.206.1-4
cheers, jari oksanen
Jari Oksanen <jarioksa at sun3.oulu.fi>
More information about the R-help