I have encountered the same problem as the original poster, Andrew,
even when matching C and fortran compiler versions. I have tried
both gcc-3.3 with g77 (version 3.4.3) via
./configure CC=gcc-3.3
and gcc 4.0.0 with gfortran (version 4.0.2) via
./configure FC=gfortran
but both resulted in the same error
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
'/R-2.4.0/library/tools/libs/tools.so':
dlopen(/R-2.4.0/library/tools/libs/tools.so, 6): Symbol not
found: _z_abs
Referenced from: /R-2.4.0/lib/libRblas.dylib
Expected in: flat namespace
Execution halted
I don't want to claim this is a bug, but to point out that matching
(major) versions of compilers does not cure the problem.