[rkward-users] Problem compiling: cannot find -lgfortran

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon May 28 11:23:36 UTC 2007


Hi,

On Monday 28 May 2007, Germán Márquez Mejía wrote:
> /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bi
>n/ld: cannot find -lgfortran

[...]

> I've read that this version is a bugfix for some issues with fortran
> symbols.  I'm not an expert, but I think my problem is related with it.

Yes, we now explicitely link against the fortran runtime libraries. These are 
actually needed by R, but somehow do not always get resolved properly at 
runtime. I'm not sure, why this library is not found on your system, as 
usually, it should be a requirement of R, and hence already installed.

The solution should be to install the package containing libgfortran. 
Unfortunately, I can't tell you the exact name for slackware. On debian 
it's "libgfortran1".

> Anyone can help?  I also attach the ./configure output.

I hope this did the trick?

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20070528/73e96601/attachment.sig>


More information about the Rkward-users mailing list