Message-ID: <CAN5kahznUn1Dj_UfpUsH=voNkvptjUdDvbtEprHYRjD_WuCsJg@mail.gmail.com>
Date: 2020-11-16T18:27:03Z
From: Jon Davidson
Subject: [R-pkg-devel] Debugging library.dynam to include a manual shared object
Hello,
I am trying to build an R package with a manually compiled .so file. To do
so, I have included a call to useDynLib() in my NAMESPACE file.
Building this works fine in RStudio with devtools::load_all('.'), but when
I try to run R CMD INSTALL, I get the error: package or namespace load
failed in library.dynam(lib, package, package.lib): shared object
'filename.so' not found.
Is there any way I can debug library.dynam to see where it's looking for my
.so and why it can't find it? Thanks for your help!
Best,
Jon
[[alternative HTML version deleted]]