[R-sig-hpc] Trouble compiling R-3.0.0 an a Linux Cluster (Martin Ivanov)

Rodney Sparapani rsparapa at mcw.edu
Tue Apr 30 18:26:36 CEST 2013


On 04/29/2013 04:54 PM, Pragnesh Patel wrote:
> export LD_LIBRARY_PATH=$R_WORK_HOME/lib64/R/lib:$LD_LIBRARY_PATH

Good catch.  But, instead of fooling around with LD_LIBRARY_PATH,
which can cause all kinds of headaches, you might be better off
trying something like...

LDFLAGS="-L$PREFIX/lib${LIBDIRSUFFIX} -Wl,-rpath \
-Wl,$PREFIX/lib${LIBDIRSUFFIX}"

Rodney



More information about the R-sig-hpc mailing list