linker-flags

Setting LD_LIBRARY_PATH from inside R

青春壹個敷衍的年華 提交于 2019-12-01 04:24:00
I have installed an R package but, in order to load it via library , the LD_LIBRARY_PATH needs to be set to the path where one of the libraries, called libhts.so.2 is located. The loading only works when editing the LD_LIBRARY_PATH before going into R, not after . I have tried several different methods in solving this: exporting a modified LD_LIBRARY_PATH from the configure script located in the R package. Creating a soft link to the shared library within the same configure script. Both have not worked and it seems to me that there is a variable that stores the results of the LD_LIBRARY_PATH

Setting LD_LIBRARY_PATH from inside R

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 04:23:23
问题 I have installed an R package but, in order to load it via library , the LD_LIBRARY_PATH needs to be set to the path where one of the libraries, called libhts.so.2 is located. The loading only works when editing the LD_LIBRARY_PATH before going into R, not after . I have tried several different methods in solving this: exporting a modified LD_LIBRARY_PATH from the configure script located in the R package. Creating a soft link to the shared library within the same configure script. Both have