[R] R shared library (/usr/lib64/R/lib/libR.so) not found.
|@t@z@hn @end|ng |rom gm@||@com
Fri Aug 24 15:10:34 CEST 2018
On Thu, Aug 23, 2018 at 6:57 AM Rolf Turner <r.turner using auckland.ac.nz> wrote:
> I *think* that this is an R question (and *not* an RStudio question!)
I think this is actually and Ubuntu question, and probably belongs on
> I have, somewhat against my better judgement, decided to experiment with
> using RStudio.
> I downloaded and install RStudio. Easy-peasy. Nice lucid instructions.
> Then I tried to start RStudio ("rstudio" from the command line)
> and got a pop-up window with the error message:
> > R shared library (/usr/lib64/R/lib/libR.so) not found. If this
> > is a custom build of R, was it built with the --enable-R-shlib option?
> Oops, no, I guess it wasn't. So I carefully did a
> sudo make uninstall
> make clean
> make distclean
> and then did
> ./R-3.5.1/configure <various flags>
> making sure I added the --enable-R-shlib flag.
> Then I did make and sudo make install.
IMO if you are compiling and installing software yourself on Linux
your are Doing It Wrong. Use the package manager, that is what it is
It all seemed to go ...
> but then I did
> again and got the same popup error.
> There is indeed *no* libR.so in /usr/lib64/R/lib.
> There *is* a libR.so in /usr/lib/R/lib, but (weirdly) ls -l reveals that
> it dates from the my previous install of R-3.5.1 for which I *did not*
> configure with --enable-R-shlib.
> Can anyone explain to me WTF is going on?
> What should I do? Just make a symbolic link from /usr/lib/R/lib/libR.so
> to /usr/lib64/R/lib/libR.so?
> It bothers me that /usr/lib/R/lib/libR.so was not "refreshed" from my
> most recent install of R.
> I plead for enlightenment.
> Rolf Turner
> P.S. I'm running Ubuntu 18.04. And the previous install of R was done
> under Ubuntu 18.04.
> R. T.
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help