Add the --no-test-load option to the install command and the unloadable .so file should be left there so you can look at its dependencies with, e.g., 'R CMD ldd .../libs/later.so'. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Feb 27, 2019 at 9:40 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:> On Wed, 27 Feb 2019, Rainer Krug wrote: > > > I am sure, you have uninstalled the package completely and tried it > again? > > Rainer, > > Yes. Just did so with the same result: R could not load the shared library. > > > Have you tried at looking at the shared objects required by > > `/usr/lib/R/library/later/libs/later.so` using ldd ? > > Because later was removed and could not be rebuilt, there is no later.so to > be queried for dependencies. > > I'll look again at later's dependencies and ensure they're all rebuilt. > > 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:> Add the --no-test-load option to the install command and the unloadable .so > file should be left there so you can look at its dependencies with, e.g., > 'R CMD ldd .../libs/later.so'.Bill, Using the syntax 'install.packages("later") --no-test-load' still produces the same result: ** testing if installed package can be loaded Error: package or namespace load failed for ?later? in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/lib/R/library/later/libs/later.so': /usr/lib/R/library/later/libs/later.so: undefined symbol: __atomic_fetch_add_8 Error: loading failed Execution halted ERROR: loading failed The later package was installed so why it's not updating now puzzles me. I'm running R-3.5.2 on Slackware-14.2. Regards, Rich
Using the syntax 'install.packages("later") --no-test-load' 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 Dunlap TIBCO Software wdunlap tibco.com On Wed, Feb 27, 2019 at 11:14 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:> On Wed, 27 Feb 2019, William Dunlap wrote: > > > Add the --no-test-load option to the install command and the unloadable > .so > > file should be left there so you can look at its dependencies with, e.g., > > 'R CMD ldd .../libs/later.so'. > > Bill, > > Using the syntax 'install.packages("later") --no-test-load' still produces > the same result: > > ** testing if installed package can be loaded > Error: package or namespace load failed for ?later? in dyn.load(file, > DLLpath = DLLpath, ...): > unable to load shared object '/usr/lib/R/library/later/libs/later.so': > /usr/lib/R/library/later/libs/later.so: undefined symbol: > __atomic_fetch_add_8 > Error: loading failed > Execution halted > ERROR: loading failed > > The later package was installed so why it's not updating now puzzles me. > I'm > running R-3.5.2 on Slackware-14.2. > > 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]]