Hi,
Did anyone build R from source on CentOS 64 bit machine for creating shared library?
I am trying to install Rserve package, but i am getting following error
/usr/bin/ld: xxxpr.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
xxxpr.o: could not read symbols: Bad value
So i exported CFLAGS, CXXFLAGS to value -fPIC and did configure something like this
./configure --with-x=no --enable-R-shlib=yes
While browsing i found that on 64 bit machines this is a problem?
Can somebody help me?
Regards,
Som Shekhar