Skip to content

new packages: geepack and KMsurv

2 messages · Jari Oksanen, Peter Dalgaard

#
p.dalgaard at biostat.ku.dk said:
Both: After finding this problem with Martyn Plummer's RPM, I installed from 
the source (usual magic: ./configure && make). The problem pertains is the same.

duncan at research.bell-labs.com said:
Now it looks that this is deeper in the configure scripts or in the way they 
work in RH7.3 (gcc 2.96, b***y b*****ds). The ./configure claims that R is not 
built as a shared library, but still dyn.load looks for libR.so. This is the output 
when I build from the source:

./configure info screen:

R is now configured for i686-pc-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc  -D__NO_MATH_INLINES -mieee-fp -g -O2
  C++ compiler:              g++  -mieee-fp -g -O2
  Fortran compiler:          g77  -mieee-fp -g -O2

  X11 support:               yes
  Gnome support:             no
  Tcl/Tk support:            yes
  Readline support:          yes

  R profiling support:       yes
  R as a shared library:     no

  Recommended packages:      yes

And this happens when I run the code I "make'd" (I guess gnu `make' is a weak verb
and has regular declension):

[jarioksa at pc112145 R-1.6.0]$ /tmp/R-1.6.0/bin/R

R : Copyright 2002, The R Development Core Team
Version 1.6.0  (2002-10-01)

[...snip...]
Error in library(akima) : There is no package called `akima'
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
	unable to load shared library "/usr/lib/R/library/akima/libs/akima.so":
  libR.so: cannot open shared object file: No such file or directory

I am bushed.

Exactly the same thing happens with Martyn Plummer's rpm package.

cheers, jari oksanen
#
Jari Oksanen <jarioksa at sun3.oulu.fi> writes:
...
Nono. You just need to read what Duncan was saying: It's the shared
libraries *in the packages* that are referring to libR.so. Rebuild R
with

path/to/configure --enable-R-shlib && make 

Then your old libraries should work (although I suspect that the ones
that you rebuilt now do not work....).