Chron problem with R 1.6.0 (PR#2181)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
18 Oct 2002 21:26:09 +0200


rab@nauticom.net writes:

> Hi. I'm using Red Hat 7.1 Linux (Intel 586). I installed the 1.6.0 rpm. No
> problems were reported. When I tried to load the chron library:
> 
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library "/usr/lib/R/library/chron/libs/chron.so":
>   libR.so: cannot load shared object file: No such file or directory
> Error in library(chron) : .First.lib failed
> 
> I checked to see if there was a new version of chron but apparently I had the
> latest version. I did an "update.packages" any way. It updated a number of
> packages but not chron. I haven't noticed any problems with other packages. R
> appears to run OK.
> 
> I'm not sure why chron.so was missing. I removed the chron package and
> re-installed chron. That fixed the problem. But what happened to chron.so when I
> installed 1.6.0?

Chron is not part of 1.6.0, so you must have had it before.
Presumably, your old version of R was built with support for R as a
shared library and the new one isn't, so chron.so goes looking for
libR.so on loading, and it isn't there anymore. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._