Hi,

I cannot compile R with shared library.
I am using Redhad Linux on Dell hardware.

Here''s what I am doing:

I set ?PICFLAGS in config.site file:
 CPICFLAGS=-fPIC
 FPICFLAGS=-fPIC
and issue:
 ./configure --enable-R-shlib --prefix=$HOME/newR
 make

configure finishes with no complaints, the last
informative line being: 
 Options enabled:           shared R library, shared BLAS, R profiling, Java

But make is upset:
  /usr/bin/ld: CConverters.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  CConverters.o: could not read symbols: Bad value
  collect2: ld returned 1 exit status

It saysm "recompile with -fPIC"  But I am already
doing so, am I not?  What am I doing wrong here?
Any help would be appreciated.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu

	[[alternative HTML version deleted]]


