Skip to content
Prev 31788 / 63424 Next

libf95.a: could not read symbols?

Where did FFLAGS come from here (looks like you meant FPICFLAGS)?

But that will only postpone the problem: to build R as a shared 
library you need PIC libraries, and your Fortran library is apparently 
not PIC (gcc does not generate PIC code by default on x86_64, and g95 
as a gcc derivative is presumably the same).  Even if you don't build 
R as shared library, the problem is likely to crop up in some packages 
(probably including stats).

gcc 4.0.3 is rather old (and rather too early in the gcc4 series). 
Can you get a later compiler quite (prrferably gcc + gfortran)?
On Tue, 10 Mar 2009, Jeff Hamann wrote: