[Rd] assistance building R on RHEL5

Mike Dahman mike.dahman at gmail.com
Thu Nov 10 08:13:50 CET 2011


I have gotten this error while attempting to build R-2.13.2 and
R-2.14.0 using ./configure --with-x=no --enable-R-shlib, and
./configure --with-x=no


Red Hat Enterprise Linux Server release 5.6 (Tikanga)

=========================

Warning in solve.default(rgb) :
  unable to load shared object '/users/home/mked/R-2.13.2/modules//lapack.so':
  /users/home/mked/R-2.13.2/lib/libRlapack.so: undefined symbol:
_gfortran_concat_string
Error in solve.default(rgb) : lapack routines cannot be loaded
Error: unable to load R code in package 'grDevices'

=========================

I'm not sure how to rectify this issue.

Note: I ran 'configure' with an updated configure script to point to
the fortran version that is installed.

  F77=
  F95_compilers="f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran
gcc44-gfortran ftn g95"     # <== gcc44-gfortran added
  F90_compilers="f90 xlf90 pgf90 pghpf epcf90"
  case "${host_os}" in
    hpux*)
      F77_compilers="g77 fort77 f77 xlf frt pgf77 cf77 fl32 af77" ;;
    *)
      F77_compilers="g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77" ;;
  esac
  GCC_Fortran_compiler=
  if test "${GCC}" = yes; then
    case "${CC_VERSION}" in
      3.*) GCC_Fortran_compiler=g77 ;;
      4.*) GCC_Fortran_compiler=gcc44 ;;   # <== updated to gcc44
    esac
  fi

thanks in advance -

-mike



More information about the R-devel mailing list