On 1 February 2019 at 16:22, Sariya, Sanjeev wrote: | /usr/bin/ld: /usr/local/lib/libgslcblas.a(xerbla.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
You are trying to build a shared library object: the code from your package. Linking such shared library code requires appropriately built external libraries. The error tells you that this version of libgslcblas is NOT appropriate, and also tells you how correct this: add -fPIC to _its_ compilation. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel