Installing R 3.5.0 with --enable-R-shlib
问题 I am trying to install R 3.5.0 from source with the flag --enable-R-shlib under Linux Mint. Configuring and installing it without the flag works fine, but RStudio requires the flag to be set. However, when running ./configure --enable-R-shlib make I get the error /usr/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 CommandLineArgs.o: error adding symbols: Bad value collect2: error: ld returned 1 exit