Mark Leeds
2013-Aug-15 21:09 UTC
[R-sig-Fedora] building R from source on fedora using shared library option
Hi All: I still use fedora 17 ( heard about fedup so plan on trying it soon ) and the only way to currently obtain a recent version of R when you're on 17 is to build it from source. ( if anyone knows another way, let me know. ). So, I was able to do that initially. But then I tried to run Rstudio and it complained about the lack of a shared library. So, I went back to do it over and first I did ../configure --enable-R-shlib That seemed to work okay. But then, when I did make, I got below. Maybe I need to do the make with options also. But, if so, I couldn't figure out where to look for them. Thanks. # part where I got the error when running make #=====================================gcc -std=gnu99 -shared -fopenmp -L/usr/local/lib64 -o libR.so CommandLineArgs.o Rdynload.o Renviron.o RNG.o agrep.o apply.o arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cum.o dcf.o datetime.o debug.o deparse.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o edit.o engine.o envir.o errors.o eval.o format.o gevents.o gramest).o gram-ex.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o names.o objects.o options.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o random.o raw.o registration.o relop.o rlocale.o saveload.o scan.o seq.o serialize.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o `ls ../unix/*.o ../appl/*.o ../nmath/*.o` ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a ../extra/tre/libtre.a -L../../lib -lRblas -lgfortran -lm -lquadmath -lreadline -llzma -lrt -ldl -lm -licuuc -licui18n /bin/ld: CommandLineArgs.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC [[alternative HTML version deleted]]
Seemingly Similar Threads
- ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
- Trouble building R 3.5.0 under Ubuntu 18.04 (Bionic Beaver)
- ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
- building R, rJava, & Rserve on Centos without admin privileges (or support)
- R-beta_2010-10-02_r53128 fails to compile on FreeBSD