Hi,

I am trying to install R on a linux machine. The output of running
./configure is

==============================
R is now configured for x86_64-unknown-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc  -g -O2 -std=gnu99
  Fortran 77 compiler:       g77  -g -O2

  C++ compiler:              g++  -g -O2
  Fortran 90/95 compiler:    gfortran -g -O2

  Interfaces supported:      X11, tcltk
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
  Options enabled:           shared BLAS, R profiling

  Recommended packages:      yes
================================


however when I run "make" I got the following error:


================================
gcc -shared -L/usr/local/lib64 -o R_X11.so dataentry.o devX11.o rotated.o
rbitmap.o  -lSM -lICE -L/usr/X11R6/lib64 -lX11 -lXt  -ljpeg -lpng -lz  -lm
/usr/bin/ld: /usr/local/lib64/libz.a(crc32.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib64/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [R_X11.so] Error 1
make[4]: Leaving directory `/afs/cs.cmu.edu/user/amahmed/R-2.4.0
/src/modules/X11'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/afs/cs.cmu.edu/user/amahmed/R-2.4.0
/src/modules/X11'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/afs/cs.cmu.edu/user/amahmed/R-2.4.0
/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/afs/cs.cmu.edu/user/amahmed/R-2.4.0/src'
make: *** [R] Error 1
================================

I think the error is critical as when I want to run R from the command line
I got the following error:

=======================
$./R
./R: error while loading shared libraries: libRblas.so: cannot open shared
object file: No such file or directory[
=======================

Any idea? I just want to be able to run R from command line, no need for gui
interface.

Thanks
Amr

	[[alternative HTML version deleted]]

