From mike.dahman at gmail.com  Thu Nov 10 08:13:50 2011
From: mike.dahman at gmail.com (Mike Dahman)
Date: Wed, 9 Nov 2011 23:13:50 -0800
Subject: [Rd] assistance building R on RHEL5
Message-ID: <CAMoFUrU+1+DB5hHUjnF7iPgR2sQxvjY1XJ7XstC4J4PP=Vm+_A@mail.gmail.com>

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



[Rd] assistance building R on RHEL5
Mike Dahman