The package will not load. The only reason to do test load is to examine why the package's .so file cannot be loaded. We know there is at least one function or data symbol that it cannot find, __atomic_fetch_add_8, wihch may be from boost::atomic. The ldd command may give some hints about missing libraries. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Feb 27, 2019 at 11:56 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:> On Wed, 27 Feb 2019, William Dunlap wrote: > > > The syntax is either > > install.packages("later", type="source", > INSTALL_opts="--no-test-load") > > from within R (perhaps with repos=NULL if from a local directory) or > > R CMD INSTALL --no-test-load later > > from outside of R, where 'later' must be a directory. > > Bill, > > Thank you very much. I read ?install.packages and saw all the options but > had no idea what to use. > > Boy howdy! Removing the load testing allowed the package to install: > > installing to /usr/lib/R/library/later/libs > ** R > ** inst > ** byte-compile and prepare package for lazy loading > ** help > *** installing help indices > ** building package indices > ** installing vignettes > * DONE (later) > > Is it worth exploring why testing loading failed here for this package? > > Best regards, > > Rich > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
On Wed, 27 Feb 2019, William Dunlap wrote:> The package will not load. The only reason to do test load is to examine > why the package's .so file cannot be loaded. We know there is at least one > function or data symbol that it cannot find, __atomic_fetch_add_8, which > may be from boost::atomic. The ldd command may give some hints about > missing libraries.Bill, Yes, it does. libR.so is not found: # ldd later.so linux-gate.so.1 (0xb76df000) libR.so => not found However, R runs and libR.so is found here: /usr/lib/R/lib/libR.so and was last accessed -rwxr-xr-x 1 root root 3331940 Dec 23 10:00 /usr/lib/R/lib/libR.so* Should I rebuild and reinstall R-3.5.2? Thanks again, Rich
Did you use 'R CMD ldd .../later.so', as I recommended? Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Feb 27, 2019 at 12:51 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:> On Wed, 27 Feb 2019, William Dunlap wrote: > > > The package will not load. The only reason to do test load is to examine > > why the package's .so file cannot be loaded. We know there is at least > one > > function or data symbol that it cannot find, __atomic_fetch_add_8, which > > may be from boost::atomic. The ldd command may give some hints about > > missing libraries. > > Bill, > > Yes, it does. libR.so is not found: > # ldd later.so > linux-gate.so.1 (0xb76df000) > libR.so => not found > > However, R runs and libR.so is found here: > /usr/lib/R/lib/libR.so > and was last accessed > -rwxr-xr-x 1 root root 3331940 Dec 23 10:00 /usr/lib/R/lib/libR.so* > > Should I rebuild and reinstall R-3.5.2? > > Thanks again, > > Rich > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]