[R] libg2c.so with new Debian

Erin Hodgess erinm.hodgess at gmail.com
Tue Oct 7 03:51:22 CEST 2008

Hi R People:

I just installed Debian on my desktop and am compiling R from source.

However, I'm getting the error message:

checking for Fortran 77 libraries of f77...
checking how to get verbose linking output from gcc -std=gnu99... -v
checking for C libraries of gcc -std=gnu99...  -L/usr/local/lib
-L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../.. -lgcc_s
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case,
underscore, extra underscore
checking whether f77 appends underscores to external names... yes
checking whether f77 appends extra underscores to external names... yes
checking whether mixed C/Fortran code can be run... configure:
WARNING: cannot run mixed C/Fortran code
configure: error: Maybe check LDFLAGS for paths to Fortran libraries?
erinh at debian:~/Desktop/R-2.7.2$

I know that it's looking for libg2c.so, but I can't seem to find that
library.  When I check on the Internet, it is deprecated.

Any suggestions, please?

Thanks in advance,

Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com

More information about the R-help mailing list