Skip to content
Prev 23977 / 398502 Next

new packages: geepack and KMsurv

jsendak at omniwhittington.co.uk said:
I found out that all old packages with compiled code in shared libraries fail to
load in R-1.6.0. My platform is RH7.3 with the notorious C/G77 compiler, but the
reason seem not to be changes in compiler, but changes in R. Packages that I had
compiled and installed day before upgrading to R-1.6.0 failed after upgrading.
The problem vanishes when the package is re-installed from the source. This is a
mild nuisance and for several packages I wait that they are ugpraded in CRAN so
that re-building happens automatically. I am not sure if this is the reason with
your trouble with binary packages, since your platform is very different. This
is the output I get with one example package:
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
	unable to load shared library "/usr/lib/R/library/acepack/libs/acepack.so":
  libR.so: cannot open shared object file: No such file or directory
Error in library(acepack) : .First.lib failed
# But it is there:
-rwxr-xr-x    1 root     root        68548 May 29 11:00 /usr/lib/R/library/acepack/libs/acepack.so
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
	unable to load shared library "/usr/lib/R/library/acepack/libs/acepack.so":
  libR.so: cannot open shared object file: No such file or directory

I have tried to find if this new behaviour is documented, but I haven't yet
found anything, so this may be an "undocumented feature". Who knows?

cheers, jari oksanen
Message-ID: <200210071328.g97DSGW18586@pc112145.oulu.fi>
In-Reply-To: Message from "Sendak, John" <jsendak@omniwhittington.co.uk> of "Mon, 07 Oct 2002 10:30:28 BST." <C31235FCFBCCD411BD630008C7F33A598039C9@ACH_MAIL1>