Skip to content
Prev 46628 / 63424 Next

libR.so: cannot open shared object file

On 06/09/2013 14:28, brian avants wrote:
But that was about installing packages, not the linking problem: this 
thread wandered.
It is not intended for end-user use.  You could just as well have set 
LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH) in the standard way for your OS.

Any approach to setting a library path has problems: on platforms that 
support it and for personal installations I would use -rpath or similar, 
but it has problems for system-wide installations since it uses absolute 
paths.  There is a section ?5.8 in 'Writing R Extensions' about this 
(use a current copy from http://cran.r-project.org/manuals.html).